
bin/kernel:     file format elf64-littleriscv


Disassembly of section .text:

ffffffffc0200000 <kern_entry>:
ffffffffc0200000:	c02052b7          	lui	t0,0xc0205
ffffffffc0200004:	ffd0031b          	addiw	t1,zero,-3
ffffffffc0200008:	01e31313          	slli	t1,t1,0x1e
ffffffffc020000c:	406282b3          	sub	t0,t0,t1
ffffffffc0200010:	00c2d293          	srli	t0,t0,0xc
ffffffffc0200014:	fff0031b          	addiw	t1,zero,-1
ffffffffc0200018:	03f31313          	slli	t1,t1,0x3f
ffffffffc020001c:	0062e2b3          	or	t0,t0,t1
ffffffffc0200020:	18029073          	csrw	satp,t0
ffffffffc0200024:	12000073          	sfence.vma
ffffffffc0200028:	c0205137          	lui	sp,0xc0205
ffffffffc020002c:	c02002b7          	lui	t0,0xc0200
ffffffffc0200030:	03628293          	addi	t0,t0,54 # ffffffffc0200036 <kern_init>
ffffffffc0200034:	8282                	jr	t0

ffffffffc0200036 <kern_init>:
ffffffffc0200036:	00006517          	auipc	a0,0x6
ffffffffc020003a:	fda50513          	addi	a0,a0,-38 # ffffffffc0206010 <edata>
ffffffffc020003e:	00006617          	auipc	a2,0x6
ffffffffc0200042:	43a60613          	addi	a2,a2,1082 # ffffffffc0206478 <end>
ffffffffc0200046:	1141                	addi	sp,sp,-16
ffffffffc0200048:	8e09                	sub	a2,a2,a0
ffffffffc020004a:	4581                	li	a1,0
ffffffffc020004c:	e406                	sd	ra,8(sp)
ffffffffc020004e:	6f0010ef          	jal	ra,ffffffffc020173e <memset>
ffffffffc0200052:	3fe000ef          	jal	ra,ffffffffc0200450 <cons_init>
ffffffffc0200056:	00001517          	auipc	a0,0x1
ffffffffc020005a:	6fa50513          	addi	a0,a0,1786 # ffffffffc0201750 <etext>
ffffffffc020005e:	090000ef          	jal	ra,ffffffffc02000ee <cputs>
ffffffffc0200062:	0dc000ef          	jal	ra,ffffffffc020013e <print_kerninfo>
ffffffffc0200066:	404000ef          	jal	ra,ffffffffc020046a <idt_init>
ffffffffc020006a:	7ab000ef          	jal	ra,ffffffffc0201014 <pmm_init>
ffffffffc020006e:	3fc000ef          	jal	ra,ffffffffc020046a <idt_init>
ffffffffc0200072:	39a000ef          	jal	ra,ffffffffc020040c <clock_init>
ffffffffc0200076:	3e8000ef          	jal	ra,ffffffffc020045e <intr_enable>
ffffffffc020007a:	a001                	j	ffffffffc020007a <kern_init+0x44>

ffffffffc020007c <cputch>:
ffffffffc020007c:	1141                	addi	sp,sp,-16
ffffffffc020007e:	e022                	sd	s0,0(sp)
ffffffffc0200080:	e406                	sd	ra,8(sp)
ffffffffc0200082:	842e                	mv	s0,a1
ffffffffc0200084:	3ce000ef          	jal	ra,ffffffffc0200452 <cons_putc>
ffffffffc0200088:	401c                	lw	a5,0(s0)
ffffffffc020008a:	60a2                	ld	ra,8(sp)
ffffffffc020008c:	2785                	addiw	a5,a5,1
ffffffffc020008e:	c01c                	sw	a5,0(s0)
ffffffffc0200090:	6402                	ld	s0,0(sp)
ffffffffc0200092:	0141                	addi	sp,sp,16
ffffffffc0200094:	8082                	ret

ffffffffc0200096 <vcprintf>:
ffffffffc0200096:	1101                	addi	sp,sp,-32
ffffffffc0200098:	86ae                	mv	a3,a1
ffffffffc020009a:	862a                	mv	a2,a0
ffffffffc020009c:	006c                	addi	a1,sp,12
ffffffffc020009e:	00000517          	auipc	a0,0x0
ffffffffc02000a2:	fde50513          	addi	a0,a0,-34 # ffffffffc020007c <cputch>
ffffffffc02000a6:	ec06                	sd	ra,24(sp)
ffffffffc02000a8:	c602                	sw	zero,12(sp)
ffffffffc02000aa:	184010ef          	jal	ra,ffffffffc020122e <vprintfmt>
ffffffffc02000ae:	60e2                	ld	ra,24(sp)
ffffffffc02000b0:	4532                	lw	a0,12(sp)
ffffffffc02000b2:	6105                	addi	sp,sp,32
ffffffffc02000b4:	8082                	ret

ffffffffc02000b6 <cprintf>:
ffffffffc02000b6:	711d                	addi	sp,sp,-96
ffffffffc02000b8:	02810313          	addi	t1,sp,40 # ffffffffc0205028 <boot_page_table_sv39+0x28>
ffffffffc02000bc:	f42e                	sd	a1,40(sp)
ffffffffc02000be:	f832                	sd	a2,48(sp)
ffffffffc02000c0:	fc36                	sd	a3,56(sp)
ffffffffc02000c2:	862a                	mv	a2,a0
ffffffffc02000c4:	004c                	addi	a1,sp,4
ffffffffc02000c6:	00000517          	auipc	a0,0x0
ffffffffc02000ca:	fb650513          	addi	a0,a0,-74 # ffffffffc020007c <cputch>
ffffffffc02000ce:	869a                	mv	a3,t1
ffffffffc02000d0:	ec06                	sd	ra,24(sp)
ffffffffc02000d2:	e0ba                	sd	a4,64(sp)
ffffffffc02000d4:	e4be                	sd	a5,72(sp)
ffffffffc02000d6:	e8c2                	sd	a6,80(sp)
ffffffffc02000d8:	ecc6                	sd	a7,88(sp)
ffffffffc02000da:	e41a                	sd	t1,8(sp)
ffffffffc02000dc:	c202                	sw	zero,4(sp)
ffffffffc02000de:	150010ef          	jal	ra,ffffffffc020122e <vprintfmt>
ffffffffc02000e2:	60e2                	ld	ra,24(sp)
ffffffffc02000e4:	4512                	lw	a0,4(sp)
ffffffffc02000e6:	6125                	addi	sp,sp,96
ffffffffc02000e8:	8082                	ret

ffffffffc02000ea <cputchar>:
ffffffffc02000ea:	3680006f          	j	ffffffffc0200452 <cons_putc>

ffffffffc02000ee <cputs>:
ffffffffc02000ee:	1101                	addi	sp,sp,-32
ffffffffc02000f0:	e822                	sd	s0,16(sp)
ffffffffc02000f2:	ec06                	sd	ra,24(sp)
ffffffffc02000f4:	e426                	sd	s1,8(sp)
ffffffffc02000f6:	842a                	mv	s0,a0
ffffffffc02000f8:	00054503          	lbu	a0,0(a0)
ffffffffc02000fc:	c51d                	beqz	a0,ffffffffc020012a <cputs+0x3c>
ffffffffc02000fe:	0405                	addi	s0,s0,1
ffffffffc0200100:	4485                	li	s1,1
ffffffffc0200102:	9c81                	subw	s1,s1,s0
ffffffffc0200104:	34e000ef          	jal	ra,ffffffffc0200452 <cons_putc>
ffffffffc0200108:	008487bb          	addw	a5,s1,s0
ffffffffc020010c:	0405                	addi	s0,s0,1
ffffffffc020010e:	fff44503          	lbu	a0,-1(s0)
ffffffffc0200112:	f96d                	bnez	a0,ffffffffc0200104 <cputs+0x16>
ffffffffc0200114:	0017841b          	addiw	s0,a5,1
ffffffffc0200118:	4529                	li	a0,10
ffffffffc020011a:	338000ef          	jal	ra,ffffffffc0200452 <cons_putc>
ffffffffc020011e:	8522                	mv	a0,s0
ffffffffc0200120:	60e2                	ld	ra,24(sp)
ffffffffc0200122:	6442                	ld	s0,16(sp)
ffffffffc0200124:	64a2                	ld	s1,8(sp)
ffffffffc0200126:	6105                	addi	sp,sp,32
ffffffffc0200128:	8082                	ret
ffffffffc020012a:	4405                	li	s0,1
ffffffffc020012c:	b7f5                	j	ffffffffc0200118 <cputs+0x2a>

ffffffffc020012e <getchar>:
ffffffffc020012e:	1141                	addi	sp,sp,-16
ffffffffc0200130:	e406                	sd	ra,8(sp)
ffffffffc0200132:	328000ef          	jal	ra,ffffffffc020045a <cons_getc>
ffffffffc0200136:	dd75                	beqz	a0,ffffffffc0200132 <getchar+0x4>
ffffffffc0200138:	60a2                	ld	ra,8(sp)
ffffffffc020013a:	0141                	addi	sp,sp,16
ffffffffc020013c:	8082                	ret

ffffffffc020013e <print_kerninfo>:
ffffffffc020013e:	1141                	addi	sp,sp,-16
ffffffffc0200140:	00001517          	auipc	a0,0x1
ffffffffc0200144:	66050513          	addi	a0,a0,1632 # ffffffffc02017a0 <etext+0x50>
ffffffffc0200148:	e406                	sd	ra,8(sp)
ffffffffc020014a:	f6dff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc020014e:	00000597          	auipc	a1,0x0
ffffffffc0200152:	ee858593          	addi	a1,a1,-280 # ffffffffc0200036 <kern_init>
ffffffffc0200156:	00001517          	auipc	a0,0x1
ffffffffc020015a:	66a50513          	addi	a0,a0,1642 # ffffffffc02017c0 <etext+0x70>
ffffffffc020015e:	f59ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0200162:	00001597          	auipc	a1,0x1
ffffffffc0200166:	5ee58593          	addi	a1,a1,1518 # ffffffffc0201750 <etext>
ffffffffc020016a:	00001517          	auipc	a0,0x1
ffffffffc020016e:	67650513          	addi	a0,a0,1654 # ffffffffc02017e0 <etext+0x90>
ffffffffc0200172:	f45ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0200176:	00006597          	auipc	a1,0x6
ffffffffc020017a:	e9a58593          	addi	a1,a1,-358 # ffffffffc0206010 <edata>
ffffffffc020017e:	00001517          	auipc	a0,0x1
ffffffffc0200182:	68250513          	addi	a0,a0,1666 # ffffffffc0201800 <etext+0xb0>
ffffffffc0200186:	f31ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc020018a:	00006597          	auipc	a1,0x6
ffffffffc020018e:	2ee58593          	addi	a1,a1,750 # ffffffffc0206478 <end>
ffffffffc0200192:	00001517          	auipc	a0,0x1
ffffffffc0200196:	68e50513          	addi	a0,a0,1678 # ffffffffc0201820 <etext+0xd0>
ffffffffc020019a:	f1dff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc020019e:	00006597          	auipc	a1,0x6
ffffffffc02001a2:	6d958593          	addi	a1,a1,1753 # ffffffffc0206877 <end+0x3ff>
ffffffffc02001a6:	00000797          	auipc	a5,0x0
ffffffffc02001aa:	e9078793          	addi	a5,a5,-368 # ffffffffc0200036 <kern_init>
ffffffffc02001ae:	40f587b3          	sub	a5,a1,a5
ffffffffc02001b2:	43f7d593          	srai	a1,a5,0x3f
ffffffffc02001b6:	60a2                	ld	ra,8(sp)
ffffffffc02001b8:	3ff5f593          	andi	a1,a1,1023
ffffffffc02001bc:	95be                	add	a1,a1,a5
ffffffffc02001be:	85a9                	srai	a1,a1,0xa
ffffffffc02001c0:	00001517          	auipc	a0,0x1
ffffffffc02001c4:	68050513          	addi	a0,a0,1664 # ffffffffc0201840 <etext+0xf0>
ffffffffc02001c8:	0141                	addi	sp,sp,16
ffffffffc02001ca:	eedff06f          	j	ffffffffc02000b6 <cprintf>

ffffffffc02001ce <print_stackframe>:
ffffffffc02001ce:	1141                	addi	sp,sp,-16
ffffffffc02001d0:	00001617          	auipc	a2,0x1
ffffffffc02001d4:	5a060613          	addi	a2,a2,1440 # ffffffffc0201770 <etext+0x20>
ffffffffc02001d8:	04e00593          	li	a1,78
ffffffffc02001dc:	00001517          	auipc	a0,0x1
ffffffffc02001e0:	5ac50513          	addi	a0,a0,1452 # ffffffffc0201788 <etext+0x38>
ffffffffc02001e4:	e406                	sd	ra,8(sp)
ffffffffc02001e6:	1c6000ef          	jal	ra,ffffffffc02003ac <__panic>

ffffffffc02001ea <mon_help>:
ffffffffc02001ea:	1141                	addi	sp,sp,-16
ffffffffc02001ec:	00001617          	auipc	a2,0x1
ffffffffc02001f0:	76460613          	addi	a2,a2,1892 # ffffffffc0201950 <commands+0xe0>
ffffffffc02001f4:	00001597          	auipc	a1,0x1
ffffffffc02001f8:	77c58593          	addi	a1,a1,1916 # ffffffffc0201970 <commands+0x100>
ffffffffc02001fc:	00001517          	auipc	a0,0x1
ffffffffc0200200:	77c50513          	addi	a0,a0,1916 # ffffffffc0201978 <commands+0x108>
ffffffffc0200204:	e406                	sd	ra,8(sp)
ffffffffc0200206:	eb1ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc020020a:	00001617          	auipc	a2,0x1
ffffffffc020020e:	77e60613          	addi	a2,a2,1918 # ffffffffc0201988 <commands+0x118>
ffffffffc0200212:	00001597          	auipc	a1,0x1
ffffffffc0200216:	79e58593          	addi	a1,a1,1950 # ffffffffc02019b0 <commands+0x140>
ffffffffc020021a:	00001517          	auipc	a0,0x1
ffffffffc020021e:	75e50513          	addi	a0,a0,1886 # ffffffffc0201978 <commands+0x108>
ffffffffc0200222:	e95ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0200226:	00001617          	auipc	a2,0x1
ffffffffc020022a:	79a60613          	addi	a2,a2,1946 # ffffffffc02019c0 <commands+0x150>
ffffffffc020022e:	00001597          	auipc	a1,0x1
ffffffffc0200232:	7b258593          	addi	a1,a1,1970 # ffffffffc02019e0 <commands+0x170>
ffffffffc0200236:	00001517          	auipc	a0,0x1
ffffffffc020023a:	74250513          	addi	a0,a0,1858 # ffffffffc0201978 <commands+0x108>
ffffffffc020023e:	e79ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0200242:	60a2                	ld	ra,8(sp)
ffffffffc0200244:	4501                	li	a0,0
ffffffffc0200246:	0141                	addi	sp,sp,16
ffffffffc0200248:	8082                	ret

ffffffffc020024a <mon_kerninfo>:
ffffffffc020024a:	1141                	addi	sp,sp,-16
ffffffffc020024c:	e406                	sd	ra,8(sp)
ffffffffc020024e:	ef1ff0ef          	jal	ra,ffffffffc020013e <print_kerninfo>
ffffffffc0200252:	60a2                	ld	ra,8(sp)
ffffffffc0200254:	4501                	li	a0,0
ffffffffc0200256:	0141                	addi	sp,sp,16
ffffffffc0200258:	8082                	ret

ffffffffc020025a <mon_backtrace>:
ffffffffc020025a:	1141                	addi	sp,sp,-16
ffffffffc020025c:	e406                	sd	ra,8(sp)
ffffffffc020025e:	f71ff0ef          	jal	ra,ffffffffc02001ce <print_stackframe>
ffffffffc0200262:	60a2                	ld	ra,8(sp)
ffffffffc0200264:	4501                	li	a0,0
ffffffffc0200266:	0141                	addi	sp,sp,16
ffffffffc0200268:	8082                	ret

ffffffffc020026a <kmonitor>:
ffffffffc020026a:	7115                	addi	sp,sp,-224
ffffffffc020026c:	e962                	sd	s8,144(sp)
ffffffffc020026e:	8c2a                	mv	s8,a0
ffffffffc0200270:	00001517          	auipc	a0,0x1
ffffffffc0200274:	64850513          	addi	a0,a0,1608 # ffffffffc02018b8 <commands+0x48>
ffffffffc0200278:	ed86                	sd	ra,216(sp)
ffffffffc020027a:	e9a2                	sd	s0,208(sp)
ffffffffc020027c:	e5a6                	sd	s1,200(sp)
ffffffffc020027e:	e1ca                	sd	s2,192(sp)
ffffffffc0200280:	fd4e                	sd	s3,184(sp)
ffffffffc0200282:	f952                	sd	s4,176(sp)
ffffffffc0200284:	f556                	sd	s5,168(sp)
ffffffffc0200286:	f15a                	sd	s6,160(sp)
ffffffffc0200288:	ed5e                	sd	s7,152(sp)
ffffffffc020028a:	e566                	sd	s9,136(sp)
ffffffffc020028c:	e16a                	sd	s10,128(sp)
ffffffffc020028e:	e29ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0200292:	00001517          	auipc	a0,0x1
ffffffffc0200296:	64e50513          	addi	a0,a0,1614 # ffffffffc02018e0 <commands+0x70>
ffffffffc020029a:	e1dff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc020029e:	000c0563          	beqz	s8,ffffffffc02002a8 <kmonitor+0x3e>
ffffffffc02002a2:	8562                	mv	a0,s8
ffffffffc02002a4:	3a6000ef          	jal	ra,ffffffffc020064a <print_trapframe>
ffffffffc02002a8:	00001c97          	auipc	s9,0x1
ffffffffc02002ac:	5c8c8c93          	addi	s9,s9,1480 # ffffffffc0201870 <commands>
ffffffffc02002b0:	00001997          	auipc	s3,0x1
ffffffffc02002b4:	65898993          	addi	s3,s3,1624 # ffffffffc0201908 <commands+0x98>
ffffffffc02002b8:	00001917          	auipc	s2,0x1
ffffffffc02002bc:	65890913          	addi	s2,s2,1624 # ffffffffc0201910 <commands+0xa0>
ffffffffc02002c0:	4a3d                	li	s4,15
ffffffffc02002c2:	00001b17          	auipc	s6,0x1
ffffffffc02002c6:	656b0b13          	addi	s6,s6,1622 # ffffffffc0201918 <commands+0xa8>
ffffffffc02002ca:	00001a97          	auipc	s5,0x1
ffffffffc02002ce:	6a6a8a93          	addi	s5,s5,1702 # ffffffffc0201970 <commands+0x100>
ffffffffc02002d2:	4b8d                	li	s7,3
ffffffffc02002d4:	854e                	mv	a0,s3
ffffffffc02002d6:	2e4010ef          	jal	ra,ffffffffc02015ba <readline>
ffffffffc02002da:	842a                	mv	s0,a0
ffffffffc02002dc:	dd65                	beqz	a0,ffffffffc02002d4 <kmonitor+0x6a>
ffffffffc02002de:	00054583          	lbu	a1,0(a0)
ffffffffc02002e2:	4481                	li	s1,0
ffffffffc02002e4:	c999                	beqz	a1,ffffffffc02002fa <kmonitor+0x90>
ffffffffc02002e6:	854a                	mv	a0,s2
ffffffffc02002e8:	438010ef          	jal	ra,ffffffffc0201720 <strchr>
ffffffffc02002ec:	c925                	beqz	a0,ffffffffc020035c <kmonitor+0xf2>
ffffffffc02002ee:	00144583          	lbu	a1,1(s0)
ffffffffc02002f2:	00040023          	sb	zero,0(s0)
ffffffffc02002f6:	0405                	addi	s0,s0,1
ffffffffc02002f8:	f5fd                	bnez	a1,ffffffffc02002e6 <kmonitor+0x7c>
ffffffffc02002fa:	dce9                	beqz	s1,ffffffffc02002d4 <kmonitor+0x6a>
ffffffffc02002fc:	6582                	ld	a1,0(sp)
ffffffffc02002fe:	00001d17          	auipc	s10,0x1
ffffffffc0200302:	572d0d13          	addi	s10,s10,1394 # ffffffffc0201870 <commands>
ffffffffc0200306:	8556                	mv	a0,s5
ffffffffc0200308:	4401                	li	s0,0
ffffffffc020030a:	0d61                	addi	s10,s10,24
ffffffffc020030c:	3ea010ef          	jal	ra,ffffffffc02016f6 <strcmp>
ffffffffc0200310:	c919                	beqz	a0,ffffffffc0200326 <kmonitor+0xbc>
ffffffffc0200312:	2405                	addiw	s0,s0,1
ffffffffc0200314:	09740463          	beq	s0,s7,ffffffffc020039c <kmonitor+0x132>
ffffffffc0200318:	000d3503          	ld	a0,0(s10)
ffffffffc020031c:	6582                	ld	a1,0(sp)
ffffffffc020031e:	0d61                	addi	s10,s10,24
ffffffffc0200320:	3d6010ef          	jal	ra,ffffffffc02016f6 <strcmp>
ffffffffc0200324:	f57d                	bnez	a0,ffffffffc0200312 <kmonitor+0xa8>
ffffffffc0200326:	00141793          	slli	a5,s0,0x1
ffffffffc020032a:	97a2                	add	a5,a5,s0
ffffffffc020032c:	078e                	slli	a5,a5,0x3
ffffffffc020032e:	97e6                	add	a5,a5,s9
ffffffffc0200330:	6b9c                	ld	a5,16(a5)
ffffffffc0200332:	8662                	mv	a2,s8
ffffffffc0200334:	002c                	addi	a1,sp,8
ffffffffc0200336:	fff4851b          	addiw	a0,s1,-1
ffffffffc020033a:	9782                	jalr	a5
ffffffffc020033c:	f8055ce3          	bgez	a0,ffffffffc02002d4 <kmonitor+0x6a>
ffffffffc0200340:	60ee                	ld	ra,216(sp)
ffffffffc0200342:	644e                	ld	s0,208(sp)
ffffffffc0200344:	64ae                	ld	s1,200(sp)
ffffffffc0200346:	690e                	ld	s2,192(sp)
ffffffffc0200348:	79ea                	ld	s3,184(sp)
ffffffffc020034a:	7a4a                	ld	s4,176(sp)
ffffffffc020034c:	7aaa                	ld	s5,168(sp)
ffffffffc020034e:	7b0a                	ld	s6,160(sp)
ffffffffc0200350:	6bea                	ld	s7,152(sp)
ffffffffc0200352:	6c4a                	ld	s8,144(sp)
ffffffffc0200354:	6caa                	ld	s9,136(sp)
ffffffffc0200356:	6d0a                	ld	s10,128(sp)
ffffffffc0200358:	612d                	addi	sp,sp,224
ffffffffc020035a:	8082                	ret
ffffffffc020035c:	00044783          	lbu	a5,0(s0)
ffffffffc0200360:	dfc9                	beqz	a5,ffffffffc02002fa <kmonitor+0x90>
ffffffffc0200362:	03448863          	beq	s1,s4,ffffffffc0200392 <kmonitor+0x128>
ffffffffc0200366:	00349793          	slli	a5,s1,0x3
ffffffffc020036a:	0118                	addi	a4,sp,128
ffffffffc020036c:	97ba                	add	a5,a5,a4
ffffffffc020036e:	f887b023          	sd	s0,-128(a5)
ffffffffc0200372:	00044583          	lbu	a1,0(s0)
ffffffffc0200376:	2485                	addiw	s1,s1,1
ffffffffc0200378:	e591                	bnez	a1,ffffffffc0200384 <kmonitor+0x11a>
ffffffffc020037a:	b749                	j	ffffffffc02002fc <kmonitor+0x92>
ffffffffc020037c:	0405                	addi	s0,s0,1
ffffffffc020037e:	00044583          	lbu	a1,0(s0)
ffffffffc0200382:	ddad                	beqz	a1,ffffffffc02002fc <kmonitor+0x92>
ffffffffc0200384:	854a                	mv	a0,s2
ffffffffc0200386:	39a010ef          	jal	ra,ffffffffc0201720 <strchr>
ffffffffc020038a:	d96d                	beqz	a0,ffffffffc020037c <kmonitor+0x112>
ffffffffc020038c:	00044583          	lbu	a1,0(s0)
ffffffffc0200390:	bf91                	j	ffffffffc02002e4 <kmonitor+0x7a>
ffffffffc0200392:	45c1                	li	a1,16
ffffffffc0200394:	855a                	mv	a0,s6
ffffffffc0200396:	d21ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc020039a:	b7f1                	j	ffffffffc0200366 <kmonitor+0xfc>
ffffffffc020039c:	6582                	ld	a1,0(sp)
ffffffffc020039e:	00001517          	auipc	a0,0x1
ffffffffc02003a2:	59a50513          	addi	a0,a0,1434 # ffffffffc0201938 <commands+0xc8>
ffffffffc02003a6:	d11ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc02003aa:	b72d                	j	ffffffffc02002d4 <kmonitor+0x6a>

ffffffffc02003ac <__panic>:
ffffffffc02003ac:	00006317          	auipc	t1,0x6
ffffffffc02003b0:	06430313          	addi	t1,t1,100 # ffffffffc0206410 <is_panic>
ffffffffc02003b4:	00032303          	lw	t1,0(t1)
ffffffffc02003b8:	715d                	addi	sp,sp,-80
ffffffffc02003ba:	ec06                	sd	ra,24(sp)
ffffffffc02003bc:	e822                	sd	s0,16(sp)
ffffffffc02003be:	f436                	sd	a3,40(sp)
ffffffffc02003c0:	f83a                	sd	a4,48(sp)
ffffffffc02003c2:	fc3e                	sd	a5,56(sp)
ffffffffc02003c4:	e0c2                	sd	a6,64(sp)
ffffffffc02003c6:	e4c6                	sd	a7,72(sp)
ffffffffc02003c8:	02031c63          	bnez	t1,ffffffffc0200400 <__panic+0x54>
ffffffffc02003cc:	4785                	li	a5,1
ffffffffc02003ce:	8432                	mv	s0,a2
ffffffffc02003d0:	00006717          	auipc	a4,0x6
ffffffffc02003d4:	04f72023          	sw	a5,64(a4) # ffffffffc0206410 <is_panic>
ffffffffc02003d8:	862e                	mv	a2,a1
ffffffffc02003da:	103c                	addi	a5,sp,40
ffffffffc02003dc:	85aa                	mv	a1,a0
ffffffffc02003de:	00001517          	auipc	a0,0x1
ffffffffc02003e2:	61250513          	addi	a0,a0,1554 # ffffffffc02019f0 <commands+0x180>
ffffffffc02003e6:	e43e                	sd	a5,8(sp)
ffffffffc02003e8:	ccfff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc02003ec:	65a2                	ld	a1,8(sp)
ffffffffc02003ee:	8522                	mv	a0,s0
ffffffffc02003f0:	ca7ff0ef          	jal	ra,ffffffffc0200096 <vcprintf>
ffffffffc02003f4:	00001517          	auipc	a0,0x1
ffffffffc02003f8:	47450513          	addi	a0,a0,1140 # ffffffffc0201868 <etext+0x118>
ffffffffc02003fc:	cbbff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0200400:	064000ef          	jal	ra,ffffffffc0200464 <intr_disable>
ffffffffc0200404:	4501                	li	a0,0
ffffffffc0200406:	e65ff0ef          	jal	ra,ffffffffc020026a <kmonitor>
ffffffffc020040a:	bfed                	j	ffffffffc0200404 <__panic+0x58>

ffffffffc020040c <clock_init>:
ffffffffc020040c:	1141                	addi	sp,sp,-16
ffffffffc020040e:	e406                	sd	ra,8(sp)
ffffffffc0200410:	02000793          	li	a5,32
ffffffffc0200414:	1047a7f3          	csrrs	a5,sie,a5
ffffffffc0200418:	c0102573          	rdtime	a0
ffffffffc020041c:	67e1                	lui	a5,0x18
ffffffffc020041e:	6a078793          	addi	a5,a5,1696 # 186a0 <BASE_ADDRESS-0xffffffffc01e7960>
ffffffffc0200422:	953e                	add	a0,a0,a5
ffffffffc0200424:	272010ef          	jal	ra,ffffffffc0201696 <sbi_set_timer>
ffffffffc0200428:	60a2                	ld	ra,8(sp)
ffffffffc020042a:	00006797          	auipc	a5,0x6
ffffffffc020042e:	0207b323          	sd	zero,38(a5) # ffffffffc0206450 <ticks>
ffffffffc0200432:	00001517          	auipc	a0,0x1
ffffffffc0200436:	5de50513          	addi	a0,a0,1502 # ffffffffc0201a10 <commands+0x1a0>
ffffffffc020043a:	0141                	addi	sp,sp,16
ffffffffc020043c:	c7bff06f          	j	ffffffffc02000b6 <cprintf>

ffffffffc0200440 <clock_set_next_event>:
ffffffffc0200440:	c0102573          	rdtime	a0
ffffffffc0200444:	67e1                	lui	a5,0x18
ffffffffc0200446:	6a078793          	addi	a5,a5,1696 # 186a0 <BASE_ADDRESS-0xffffffffc01e7960>
ffffffffc020044a:	953e                	add	a0,a0,a5
ffffffffc020044c:	24a0106f          	j	ffffffffc0201696 <sbi_set_timer>

ffffffffc0200450 <cons_init>:
ffffffffc0200450:	8082                	ret

ffffffffc0200452 <cons_putc>:
ffffffffc0200452:	0ff57513          	andi	a0,a0,255
ffffffffc0200456:	2240106f          	j	ffffffffc020167a <sbi_console_putchar>

ffffffffc020045a <cons_getc>:
ffffffffc020045a:	2580106f          	j	ffffffffc02016b2 <sbi_console_getchar>

ffffffffc020045e <intr_enable>:
ffffffffc020045e:	100167f3          	csrrsi	a5,sstatus,2
ffffffffc0200462:	8082                	ret

ffffffffc0200464 <intr_disable>:
ffffffffc0200464:	100177f3          	csrrci	a5,sstatus,2
ffffffffc0200468:	8082                	ret

ffffffffc020046a <idt_init>:
ffffffffc020046a:	14005073          	csrwi	sscratch,0
ffffffffc020046e:	00000797          	auipc	a5,0x0
ffffffffc0200472:	30678793          	addi	a5,a5,774 # ffffffffc0200774 <__alltraps>
ffffffffc0200476:	10579073          	csrw	stvec,a5
ffffffffc020047a:	8082                	ret

ffffffffc020047c <print_regs>:
ffffffffc020047c:	610c                	ld	a1,0(a0)
ffffffffc020047e:	1141                	addi	sp,sp,-16
ffffffffc0200480:	e022                	sd	s0,0(sp)
ffffffffc0200482:	842a                	mv	s0,a0
ffffffffc0200484:	00001517          	auipc	a0,0x1
ffffffffc0200488:	6a450513          	addi	a0,a0,1700 # ffffffffc0201b28 <commands+0x2b8>
ffffffffc020048c:	e406                	sd	ra,8(sp)
ffffffffc020048e:	c29ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0200492:	640c                	ld	a1,8(s0)
ffffffffc0200494:	00001517          	auipc	a0,0x1
ffffffffc0200498:	6ac50513          	addi	a0,a0,1708 # ffffffffc0201b40 <commands+0x2d0>
ffffffffc020049c:	c1bff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc02004a0:	680c                	ld	a1,16(s0)
ffffffffc02004a2:	00001517          	auipc	a0,0x1
ffffffffc02004a6:	6b650513          	addi	a0,a0,1718 # ffffffffc0201b58 <commands+0x2e8>
ffffffffc02004aa:	c0dff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc02004ae:	6c0c                	ld	a1,24(s0)
ffffffffc02004b0:	00001517          	auipc	a0,0x1
ffffffffc02004b4:	6c050513          	addi	a0,a0,1728 # ffffffffc0201b70 <commands+0x300>
ffffffffc02004b8:	bffff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc02004bc:	700c                	ld	a1,32(s0)
ffffffffc02004be:	00001517          	auipc	a0,0x1
ffffffffc02004c2:	6ca50513          	addi	a0,a0,1738 # ffffffffc0201b88 <commands+0x318>
ffffffffc02004c6:	bf1ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc02004ca:	740c                	ld	a1,40(s0)
ffffffffc02004cc:	00001517          	auipc	a0,0x1
ffffffffc02004d0:	6d450513          	addi	a0,a0,1748 # ffffffffc0201ba0 <commands+0x330>
ffffffffc02004d4:	be3ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc02004d8:	780c                	ld	a1,48(s0)
ffffffffc02004da:	00001517          	auipc	a0,0x1
ffffffffc02004de:	6de50513          	addi	a0,a0,1758 # ffffffffc0201bb8 <commands+0x348>
ffffffffc02004e2:	bd5ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc02004e6:	7c0c                	ld	a1,56(s0)
ffffffffc02004e8:	00001517          	auipc	a0,0x1
ffffffffc02004ec:	6e850513          	addi	a0,a0,1768 # ffffffffc0201bd0 <commands+0x360>
ffffffffc02004f0:	bc7ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc02004f4:	602c                	ld	a1,64(s0)
ffffffffc02004f6:	00001517          	auipc	a0,0x1
ffffffffc02004fa:	6f250513          	addi	a0,a0,1778 # ffffffffc0201be8 <commands+0x378>
ffffffffc02004fe:	bb9ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0200502:	642c                	ld	a1,72(s0)
ffffffffc0200504:	00001517          	auipc	a0,0x1
ffffffffc0200508:	6fc50513          	addi	a0,a0,1788 # ffffffffc0201c00 <commands+0x390>
ffffffffc020050c:	babff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0200510:	682c                	ld	a1,80(s0)
ffffffffc0200512:	00001517          	auipc	a0,0x1
ffffffffc0200516:	70650513          	addi	a0,a0,1798 # ffffffffc0201c18 <commands+0x3a8>
ffffffffc020051a:	b9dff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc020051e:	6c2c                	ld	a1,88(s0)
ffffffffc0200520:	00001517          	auipc	a0,0x1
ffffffffc0200524:	71050513          	addi	a0,a0,1808 # ffffffffc0201c30 <commands+0x3c0>
ffffffffc0200528:	b8fff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc020052c:	702c                	ld	a1,96(s0)
ffffffffc020052e:	00001517          	auipc	a0,0x1
ffffffffc0200532:	71a50513          	addi	a0,a0,1818 # ffffffffc0201c48 <commands+0x3d8>
ffffffffc0200536:	b81ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc020053a:	742c                	ld	a1,104(s0)
ffffffffc020053c:	00001517          	auipc	a0,0x1
ffffffffc0200540:	72450513          	addi	a0,a0,1828 # ffffffffc0201c60 <commands+0x3f0>
ffffffffc0200544:	b73ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0200548:	782c                	ld	a1,112(s0)
ffffffffc020054a:	00001517          	auipc	a0,0x1
ffffffffc020054e:	72e50513          	addi	a0,a0,1838 # ffffffffc0201c78 <commands+0x408>
ffffffffc0200552:	b65ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0200556:	7c2c                	ld	a1,120(s0)
ffffffffc0200558:	00001517          	auipc	a0,0x1
ffffffffc020055c:	73850513          	addi	a0,a0,1848 # ffffffffc0201c90 <commands+0x420>
ffffffffc0200560:	b57ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0200564:	604c                	ld	a1,128(s0)
ffffffffc0200566:	00001517          	auipc	a0,0x1
ffffffffc020056a:	74250513          	addi	a0,a0,1858 # ffffffffc0201ca8 <commands+0x438>
ffffffffc020056e:	b49ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0200572:	644c                	ld	a1,136(s0)
ffffffffc0200574:	00001517          	auipc	a0,0x1
ffffffffc0200578:	74c50513          	addi	a0,a0,1868 # ffffffffc0201cc0 <commands+0x450>
ffffffffc020057c:	b3bff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0200580:	684c                	ld	a1,144(s0)
ffffffffc0200582:	00001517          	auipc	a0,0x1
ffffffffc0200586:	75650513          	addi	a0,a0,1878 # ffffffffc0201cd8 <commands+0x468>
ffffffffc020058a:	b2dff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc020058e:	6c4c                	ld	a1,152(s0)
ffffffffc0200590:	00001517          	auipc	a0,0x1
ffffffffc0200594:	76050513          	addi	a0,a0,1888 # ffffffffc0201cf0 <commands+0x480>
ffffffffc0200598:	b1fff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc020059c:	704c                	ld	a1,160(s0)
ffffffffc020059e:	00001517          	auipc	a0,0x1
ffffffffc02005a2:	76a50513          	addi	a0,a0,1898 # ffffffffc0201d08 <commands+0x498>
ffffffffc02005a6:	b11ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc02005aa:	744c                	ld	a1,168(s0)
ffffffffc02005ac:	00001517          	auipc	a0,0x1
ffffffffc02005b0:	77450513          	addi	a0,a0,1908 # ffffffffc0201d20 <commands+0x4b0>
ffffffffc02005b4:	b03ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc02005b8:	784c                	ld	a1,176(s0)
ffffffffc02005ba:	00001517          	auipc	a0,0x1
ffffffffc02005be:	77e50513          	addi	a0,a0,1918 # ffffffffc0201d38 <commands+0x4c8>
ffffffffc02005c2:	af5ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc02005c6:	7c4c                	ld	a1,184(s0)
ffffffffc02005c8:	00001517          	auipc	a0,0x1
ffffffffc02005cc:	78850513          	addi	a0,a0,1928 # ffffffffc0201d50 <commands+0x4e0>
ffffffffc02005d0:	ae7ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc02005d4:	606c                	ld	a1,192(s0)
ffffffffc02005d6:	00001517          	auipc	a0,0x1
ffffffffc02005da:	79250513          	addi	a0,a0,1938 # ffffffffc0201d68 <commands+0x4f8>
ffffffffc02005de:	ad9ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc02005e2:	646c                	ld	a1,200(s0)
ffffffffc02005e4:	00001517          	auipc	a0,0x1
ffffffffc02005e8:	79c50513          	addi	a0,a0,1948 # ffffffffc0201d80 <commands+0x510>
ffffffffc02005ec:	acbff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc02005f0:	686c                	ld	a1,208(s0)
ffffffffc02005f2:	00001517          	auipc	a0,0x1
ffffffffc02005f6:	7a650513          	addi	a0,a0,1958 # ffffffffc0201d98 <commands+0x528>
ffffffffc02005fa:	abdff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc02005fe:	6c6c                	ld	a1,216(s0)
ffffffffc0200600:	00001517          	auipc	a0,0x1
ffffffffc0200604:	7b050513          	addi	a0,a0,1968 # ffffffffc0201db0 <commands+0x540>
ffffffffc0200608:	aafff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc020060c:	706c                	ld	a1,224(s0)
ffffffffc020060e:	00001517          	auipc	a0,0x1
ffffffffc0200612:	7ba50513          	addi	a0,a0,1978 # ffffffffc0201dc8 <commands+0x558>
ffffffffc0200616:	aa1ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc020061a:	746c                	ld	a1,232(s0)
ffffffffc020061c:	00001517          	auipc	a0,0x1
ffffffffc0200620:	7c450513          	addi	a0,a0,1988 # ffffffffc0201de0 <commands+0x570>
ffffffffc0200624:	a93ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0200628:	786c                	ld	a1,240(s0)
ffffffffc020062a:	00001517          	auipc	a0,0x1
ffffffffc020062e:	7ce50513          	addi	a0,a0,1998 # ffffffffc0201df8 <commands+0x588>
ffffffffc0200632:	a85ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0200636:	7c6c                	ld	a1,248(s0)
ffffffffc0200638:	6402                	ld	s0,0(sp)
ffffffffc020063a:	60a2                	ld	ra,8(sp)
ffffffffc020063c:	00001517          	auipc	a0,0x1
ffffffffc0200640:	7d450513          	addi	a0,a0,2004 # ffffffffc0201e10 <commands+0x5a0>
ffffffffc0200644:	0141                	addi	sp,sp,16
ffffffffc0200646:	a71ff06f          	j	ffffffffc02000b6 <cprintf>

ffffffffc020064a <print_trapframe>:
ffffffffc020064a:	1141                	addi	sp,sp,-16
ffffffffc020064c:	e022                	sd	s0,0(sp)
ffffffffc020064e:	85aa                	mv	a1,a0
ffffffffc0200650:	842a                	mv	s0,a0
ffffffffc0200652:	00001517          	auipc	a0,0x1
ffffffffc0200656:	7d650513          	addi	a0,a0,2006 # ffffffffc0201e28 <commands+0x5b8>
ffffffffc020065a:	e406                	sd	ra,8(sp)
ffffffffc020065c:	a5bff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0200660:	8522                	mv	a0,s0
ffffffffc0200662:	e1bff0ef          	jal	ra,ffffffffc020047c <print_regs>
ffffffffc0200666:	10043583          	ld	a1,256(s0)
ffffffffc020066a:	00001517          	auipc	a0,0x1
ffffffffc020066e:	7d650513          	addi	a0,a0,2006 # ffffffffc0201e40 <commands+0x5d0>
ffffffffc0200672:	a45ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0200676:	10843583          	ld	a1,264(s0)
ffffffffc020067a:	00001517          	auipc	a0,0x1
ffffffffc020067e:	7de50513          	addi	a0,a0,2014 # ffffffffc0201e58 <commands+0x5e8>
ffffffffc0200682:	a35ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0200686:	11043583          	ld	a1,272(s0)
ffffffffc020068a:	00001517          	auipc	a0,0x1
ffffffffc020068e:	7e650513          	addi	a0,a0,2022 # ffffffffc0201e70 <commands+0x600>
ffffffffc0200692:	a25ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0200696:	11843583          	ld	a1,280(s0)
ffffffffc020069a:	6402                	ld	s0,0(sp)
ffffffffc020069c:	60a2                	ld	ra,8(sp)
ffffffffc020069e:	00001517          	auipc	a0,0x1
ffffffffc02006a2:	7ea50513          	addi	a0,a0,2026 # ffffffffc0201e88 <commands+0x618>
ffffffffc02006a6:	0141                	addi	sp,sp,16
ffffffffc02006a8:	a0fff06f          	j	ffffffffc02000b6 <cprintf>

ffffffffc02006ac <interrupt_handler>:
ffffffffc02006ac:	11853783          	ld	a5,280(a0)
ffffffffc02006b0:	577d                	li	a4,-1
ffffffffc02006b2:	8305                	srli	a4,a4,0x1
ffffffffc02006b4:	8ff9                	and	a5,a5,a4
ffffffffc02006b6:	472d                	li	a4,11
ffffffffc02006b8:	08f76563          	bltu	a4,a5,ffffffffc0200742 <interrupt_handler+0x96>
ffffffffc02006bc:	00001717          	auipc	a4,0x1
ffffffffc02006c0:	37070713          	addi	a4,a4,880 # ffffffffc0201a2c <commands+0x1bc>
ffffffffc02006c4:	078a                	slli	a5,a5,0x2
ffffffffc02006c6:	97ba                	add	a5,a5,a4
ffffffffc02006c8:	439c                	lw	a5,0(a5)
ffffffffc02006ca:	97ba                	add	a5,a5,a4
ffffffffc02006cc:	8782                	jr	a5
ffffffffc02006ce:	00001517          	auipc	a0,0x1
ffffffffc02006d2:	3f250513          	addi	a0,a0,1010 # ffffffffc0201ac0 <commands+0x250>
ffffffffc02006d6:	9e1ff06f          	j	ffffffffc02000b6 <cprintf>
ffffffffc02006da:	00001517          	auipc	a0,0x1
ffffffffc02006de:	3c650513          	addi	a0,a0,966 # ffffffffc0201aa0 <commands+0x230>
ffffffffc02006e2:	9d5ff06f          	j	ffffffffc02000b6 <cprintf>
ffffffffc02006e6:	00001517          	auipc	a0,0x1
ffffffffc02006ea:	37a50513          	addi	a0,a0,890 # ffffffffc0201a60 <commands+0x1f0>
ffffffffc02006ee:	9c9ff06f          	j	ffffffffc02000b6 <cprintf>
ffffffffc02006f2:	00001517          	auipc	a0,0x1
ffffffffc02006f6:	3ee50513          	addi	a0,a0,1006 # ffffffffc0201ae0 <commands+0x270>
ffffffffc02006fa:	9bdff06f          	j	ffffffffc02000b6 <cprintf>
ffffffffc02006fe:	1141                	addi	sp,sp,-16
ffffffffc0200700:	e406                	sd	ra,8(sp)
ffffffffc0200702:	d3fff0ef          	jal	ra,ffffffffc0200440 <clock_set_next_event>
ffffffffc0200706:	00006797          	auipc	a5,0x6
ffffffffc020070a:	d4a78793          	addi	a5,a5,-694 # ffffffffc0206450 <ticks>
ffffffffc020070e:	639c                	ld	a5,0(a5)
ffffffffc0200710:	06400713          	li	a4,100
ffffffffc0200714:	0785                	addi	a5,a5,1
ffffffffc0200716:	02e7f733          	remu	a4,a5,a4
ffffffffc020071a:	00006697          	auipc	a3,0x6
ffffffffc020071e:	d2f6bb23          	sd	a5,-714(a3) # ffffffffc0206450 <ticks>
ffffffffc0200722:	c315                	beqz	a4,ffffffffc0200746 <interrupt_handler+0x9a>
ffffffffc0200724:	60a2                	ld	ra,8(sp)
ffffffffc0200726:	0141                	addi	sp,sp,16
ffffffffc0200728:	8082                	ret
ffffffffc020072a:	00001517          	auipc	a0,0x1
ffffffffc020072e:	3de50513          	addi	a0,a0,990 # ffffffffc0201b08 <commands+0x298>
ffffffffc0200732:	985ff06f          	j	ffffffffc02000b6 <cprintf>
ffffffffc0200736:	00001517          	auipc	a0,0x1
ffffffffc020073a:	34a50513          	addi	a0,a0,842 # ffffffffc0201a80 <commands+0x210>
ffffffffc020073e:	979ff06f          	j	ffffffffc02000b6 <cprintf>
ffffffffc0200742:	f09ff06f          	j	ffffffffc020064a <print_trapframe>
ffffffffc0200746:	60a2                	ld	ra,8(sp)
ffffffffc0200748:	06400593          	li	a1,100
ffffffffc020074c:	00001517          	auipc	a0,0x1
ffffffffc0200750:	3ac50513          	addi	a0,a0,940 # ffffffffc0201af8 <commands+0x288>
ffffffffc0200754:	0141                	addi	sp,sp,16
ffffffffc0200756:	961ff06f          	j	ffffffffc02000b6 <cprintf>

ffffffffc020075a <trap>:
ffffffffc020075a:	11853783          	ld	a5,280(a0)
ffffffffc020075e:	0007c863          	bltz	a5,ffffffffc020076e <trap+0x14>
ffffffffc0200762:	472d                	li	a4,11
ffffffffc0200764:	00f76363          	bltu	a4,a5,ffffffffc020076a <trap+0x10>
ffffffffc0200768:	8082                	ret
ffffffffc020076a:	ee1ff06f          	j	ffffffffc020064a <print_trapframe>
ffffffffc020076e:	f3fff06f          	j	ffffffffc02006ac <interrupt_handler>
	...

ffffffffc0200774 <__alltraps>:
ffffffffc0200774:	14011073          	csrw	sscratch,sp
ffffffffc0200778:	712d                	addi	sp,sp,-288
ffffffffc020077a:	e002                	sd	zero,0(sp)
ffffffffc020077c:	e406                	sd	ra,8(sp)
ffffffffc020077e:	ec0e                	sd	gp,24(sp)
ffffffffc0200780:	f012                	sd	tp,32(sp)
ffffffffc0200782:	f416                	sd	t0,40(sp)
ffffffffc0200784:	f81a                	sd	t1,48(sp)
ffffffffc0200786:	fc1e                	sd	t2,56(sp)
ffffffffc0200788:	e0a2                	sd	s0,64(sp)
ffffffffc020078a:	e4a6                	sd	s1,72(sp)
ffffffffc020078c:	e8aa                	sd	a0,80(sp)
ffffffffc020078e:	ecae                	sd	a1,88(sp)
ffffffffc0200790:	f0b2                	sd	a2,96(sp)
ffffffffc0200792:	f4b6                	sd	a3,104(sp)
ffffffffc0200794:	f8ba                	sd	a4,112(sp)
ffffffffc0200796:	fcbe                	sd	a5,120(sp)
ffffffffc0200798:	e142                	sd	a6,128(sp)
ffffffffc020079a:	e546                	sd	a7,136(sp)
ffffffffc020079c:	e94a                	sd	s2,144(sp)
ffffffffc020079e:	ed4e                	sd	s3,152(sp)
ffffffffc02007a0:	f152                	sd	s4,160(sp)
ffffffffc02007a2:	f556                	sd	s5,168(sp)
ffffffffc02007a4:	f95a                	sd	s6,176(sp)
ffffffffc02007a6:	fd5e                	sd	s7,184(sp)
ffffffffc02007a8:	e1e2                	sd	s8,192(sp)
ffffffffc02007aa:	e5e6                	sd	s9,200(sp)
ffffffffc02007ac:	e9ea                	sd	s10,208(sp)
ffffffffc02007ae:	edee                	sd	s11,216(sp)
ffffffffc02007b0:	f1f2                	sd	t3,224(sp)
ffffffffc02007b2:	f5f6                	sd	t4,232(sp)
ffffffffc02007b4:	f9fa                	sd	t5,240(sp)
ffffffffc02007b6:	fdfe                	sd	t6,248(sp)
ffffffffc02007b8:	14001473          	csrrw	s0,sscratch,zero
ffffffffc02007bc:	100024f3          	csrr	s1,sstatus
ffffffffc02007c0:	14102973          	csrr	s2,sepc
ffffffffc02007c4:	143029f3          	csrr	s3,stval
ffffffffc02007c8:	14202a73          	csrr	s4,scause
ffffffffc02007cc:	e822                	sd	s0,16(sp)
ffffffffc02007ce:	e226                	sd	s1,256(sp)
ffffffffc02007d0:	e64a                	sd	s2,264(sp)
ffffffffc02007d2:	ea4e                	sd	s3,272(sp)
ffffffffc02007d4:	ee52                	sd	s4,280(sp)
ffffffffc02007d6:	850a                	mv	a0,sp
ffffffffc02007d8:	f83ff0ef          	jal	ra,ffffffffc020075a <trap>

ffffffffc02007dc <__trapret>:
ffffffffc02007dc:	6492                	ld	s1,256(sp)
ffffffffc02007de:	6932                	ld	s2,264(sp)
ffffffffc02007e0:	10049073          	csrw	sstatus,s1
ffffffffc02007e4:	14191073          	csrw	sepc,s2
ffffffffc02007e8:	60a2                	ld	ra,8(sp)
ffffffffc02007ea:	61e2                	ld	gp,24(sp)
ffffffffc02007ec:	7202                	ld	tp,32(sp)
ffffffffc02007ee:	72a2                	ld	t0,40(sp)
ffffffffc02007f0:	7342                	ld	t1,48(sp)
ffffffffc02007f2:	73e2                	ld	t2,56(sp)
ffffffffc02007f4:	6406                	ld	s0,64(sp)
ffffffffc02007f6:	64a6                	ld	s1,72(sp)
ffffffffc02007f8:	6546                	ld	a0,80(sp)
ffffffffc02007fa:	65e6                	ld	a1,88(sp)
ffffffffc02007fc:	7606                	ld	a2,96(sp)
ffffffffc02007fe:	76a6                	ld	a3,104(sp)
ffffffffc0200800:	7746                	ld	a4,112(sp)
ffffffffc0200802:	77e6                	ld	a5,120(sp)
ffffffffc0200804:	680a                	ld	a6,128(sp)
ffffffffc0200806:	68aa                	ld	a7,136(sp)
ffffffffc0200808:	694a                	ld	s2,144(sp)
ffffffffc020080a:	69ea                	ld	s3,152(sp)
ffffffffc020080c:	7a0a                	ld	s4,160(sp)
ffffffffc020080e:	7aaa                	ld	s5,168(sp)
ffffffffc0200810:	7b4a                	ld	s6,176(sp)
ffffffffc0200812:	7bea                	ld	s7,184(sp)
ffffffffc0200814:	6c0e                	ld	s8,192(sp)
ffffffffc0200816:	6cae                	ld	s9,200(sp)
ffffffffc0200818:	6d4e                	ld	s10,208(sp)
ffffffffc020081a:	6dee                	ld	s11,216(sp)
ffffffffc020081c:	7e0e                	ld	t3,224(sp)
ffffffffc020081e:	7eae                	ld	t4,232(sp)
ffffffffc0200820:	7f4e                	ld	t5,240(sp)
ffffffffc0200822:	7fee                	ld	t6,248(sp)
ffffffffc0200824:	6142                	ld	sp,16(sp)
ffffffffc0200826:	10200073          	sret

ffffffffc020082a <buddy_init>:
ffffffffc020082a:	8082                	ret

ffffffffc020082c <buddy_nr_free_pages>:
ffffffffc020082c:	00006797          	auipc	a5,0x6
ffffffffc0200830:	bec78793          	addi	a5,a5,-1044 # ffffffffc0206418 <buddy_page>
ffffffffc0200834:	639c                	ld	a5,0(a5)
ffffffffc0200836:	0047e503          	lwu	a0,4(a5)
ffffffffc020083a:	8082                	ret

ffffffffc020083c <buddy_alloc_pages>:
ffffffffc020083c:	c56d                	beqz	a0,ffffffffc0200926 <buddy_alloc_pages+0xea>
ffffffffc020083e:	00006597          	auipc	a1,0x6
ffffffffc0200842:	bda58593          	addi	a1,a1,-1062 # ffffffffc0206418 <buddy_page>
ffffffffc0200846:	6190                	ld	a2,0(a1)
ffffffffc0200848:	00466783          	lwu	a5,4(a2)
ffffffffc020084c:	0ca7eb63          	bltu	a5,a0,ffffffffc0200922 <buddy_alloc_pages+0xe6>
ffffffffc0200850:	4705                	li	a4,1
ffffffffc0200852:	86ba                	mv	a3,a4
ffffffffc0200854:	0017171b          	slliw	a4,a4,0x1
ffffffffc0200858:	02071793          	slli	a5,a4,0x20
ffffffffc020085c:	83f9                	srli	a5,a5,0x1e
ffffffffc020085e:	97b2                	add	a5,a5,a2
ffffffffc0200860:	0007e783          	lwu	a5,0(a5)
ffffffffc0200864:	fea7f7e3          	bleu	a0,a5,ffffffffc0200852 <buddy_alloc_pages+0x16>
ffffffffc0200868:	2705                	addiw	a4,a4,1
ffffffffc020086a:	02071793          	slli	a5,a4,0x20
ffffffffc020086e:	83f9                	srli	a5,a5,0x1e
ffffffffc0200870:	97b2                	add	a5,a5,a2
ffffffffc0200872:	0007e783          	lwu	a5,0(a5)
ffffffffc0200876:	fca7fee3          	bleu	a0,a5,ffffffffc0200852 <buddy_alloc_pages+0x16>
ffffffffc020087a:	02069793          	slli	a5,a3,0x20
ffffffffc020087e:	83f9                	srli	a5,a5,0x1e
ffffffffc0200880:	963e                	add	a2,a2,a5
ffffffffc0200882:	4218                	lw	a4,0(a2)
ffffffffc0200884:	00006797          	auipc	a5,0x6
ffffffffc0200888:	bac78793          	addi	a5,a5,-1108 # ffffffffc0206430 <useable_page_num>
ffffffffc020088c:	0007a883          	lw	a7,0(a5)
ffffffffc0200890:	02e687bb          	mulw	a5,a3,a4
ffffffffc0200894:	02071813          	slli	a6,a4,0x20
ffffffffc0200898:	00006717          	auipc	a4,0x6
ffffffffc020089c:	b9070713          	addi	a4,a4,-1136 # ffffffffc0206428 <useable_page_base>
ffffffffc02008a0:	02085813          	srli	a6,a6,0x20
ffffffffc02008a4:	6308                	ld	a0,0(a4)
ffffffffc02008a6:	00062023          	sw	zero,0(a2)
ffffffffc02008aa:	00281713          	slli	a4,a6,0x2
ffffffffc02008ae:	9742                	add	a4,a4,a6
ffffffffc02008b0:	070e                	slli	a4,a4,0x3
ffffffffc02008b2:	411787bb          	subw	a5,a5,a7
ffffffffc02008b6:	1782                	slli	a5,a5,0x20
ffffffffc02008b8:	9381                	srli	a5,a5,0x20
ffffffffc02008ba:	00279613          	slli	a2,a5,0x2
ffffffffc02008be:	97b2                	add	a5,a5,a2
ffffffffc02008c0:	078e                	slli	a5,a5,0x3
ffffffffc02008c2:	953e                	add	a0,a0,a5
ffffffffc02008c4:	972a                	add	a4,a4,a0
ffffffffc02008c6:	00e50e63          	beq	a0,a4,ffffffffc02008e2 <buddy_alloc_pages+0xa6>
ffffffffc02008ca:	87aa                	mv	a5,a0
ffffffffc02008cc:	5675                	li	a2,-3
ffffffffc02008ce:	00878813          	addi	a6,a5,8
ffffffffc02008d2:	60c8302f          	amoand.d	zero,a2,(a6)
ffffffffc02008d6:	0007a023          	sw	zero,0(a5)
ffffffffc02008da:	02878793          	addi	a5,a5,40
ffffffffc02008de:	fee798e3          	bne	a5,a4,ffffffffc02008ce <buddy_alloc_pages+0x92>
ffffffffc02008e2:	0016d69b          	srliw	a3,a3,0x1
ffffffffc02008e6:	ce9d                	beqz	a3,ffffffffc0200924 <buddy_alloc_pages+0xe8>
ffffffffc02008e8:	6190                	ld	a2,0(a1)
ffffffffc02008ea:	0016979b          	slliw	a5,a3,0x1
ffffffffc02008ee:	0017871b          	addiw	a4,a5,1
ffffffffc02008f2:	1702                	slli	a4,a4,0x20
ffffffffc02008f4:	1782                	slli	a5,a5,0x20
ffffffffc02008f6:	9301                	srli	a4,a4,0x20
ffffffffc02008f8:	9381                	srli	a5,a5,0x20
ffffffffc02008fa:	070a                	slli	a4,a4,0x2
ffffffffc02008fc:	078a                	slli	a5,a5,0x2
ffffffffc02008fe:	97b2                	add	a5,a5,a2
ffffffffc0200900:	9732                	add	a4,a4,a2
ffffffffc0200902:	438c                	lw	a1,0(a5)
ffffffffc0200904:	4318                	lw	a4,0(a4)
ffffffffc0200906:	00269793          	slli	a5,a3,0x2
ffffffffc020090a:	0005881b          	sext.w	a6,a1
ffffffffc020090e:	0007089b          	sext.w	a7,a4
ffffffffc0200912:	97b2                	add	a5,a5,a2
ffffffffc0200914:	0108f363          	bleu	a6,a7,ffffffffc020091a <buddy_alloc_pages+0xde>
ffffffffc0200918:	872e                	mv	a4,a1
ffffffffc020091a:	c398                	sw	a4,0(a5)
ffffffffc020091c:	8285                	srli	a3,a3,0x1
ffffffffc020091e:	f6f1                	bnez	a3,ffffffffc02008ea <buddy_alloc_pages+0xae>
ffffffffc0200920:	8082                	ret
ffffffffc0200922:	4501                	li	a0,0
ffffffffc0200924:	8082                	ret
ffffffffc0200926:	1141                	addi	sp,sp,-16
ffffffffc0200928:	00001697          	auipc	a3,0x1
ffffffffc020092c:	57868693          	addi	a3,a3,1400 # ffffffffc0201ea0 <commands+0x630>
ffffffffc0200930:	00001617          	auipc	a2,0x1
ffffffffc0200934:	57860613          	addi	a2,a2,1400 # ffffffffc0201ea8 <commands+0x638>
ffffffffc0200938:	04300593          	li	a1,67
ffffffffc020093c:	00001517          	auipc	a0,0x1
ffffffffc0200940:	58450513          	addi	a0,a0,1412 # ffffffffc0201ec0 <commands+0x650>
ffffffffc0200944:	e406                	sd	ra,8(sp)
ffffffffc0200946:	a67ff0ef          	jal	ra,ffffffffc02003ac <__panic>

ffffffffc020094a <buddy_check>:
ffffffffc020094a:	7179                	addi	sp,sp,-48
ffffffffc020094c:	e84a                	sd	s2,16(sp)
ffffffffc020094e:	f406                	sd	ra,40(sp)
ffffffffc0200950:	f022                	sd	s0,32(sp)
ffffffffc0200952:	ec26                	sd	s1,24(sp)
ffffffffc0200954:	e44e                	sd	s3,8(sp)
ffffffffc0200956:	e052                	sd	s4,0(sp)
ffffffffc0200958:	67c000ef          	jal	ra,ffffffffc0200fd4 <nr_free_pages>
ffffffffc020095c:	0005091b          	sext.w	s2,a0
ffffffffc0200960:	0019051b          	addiw	a0,s2,1
ffffffffc0200964:	5e6000ef          	jal	ra,ffffffffc0200f4a <alloc_pages>
ffffffffc0200968:	26051263          	bnez	a0,ffffffffc0200bcc <buddy_check+0x282>
ffffffffc020096c:	4505                	li	a0,1
ffffffffc020096e:	5dc000ef          	jal	ra,ffffffffc0200f4a <alloc_pages>
ffffffffc0200972:	842a                	mv	s0,a0
ffffffffc0200974:	22050c63          	beqz	a0,ffffffffc0200bac <buddy_check+0x262>
ffffffffc0200978:	4509                	li	a0,2
ffffffffc020097a:	5d0000ef          	jal	ra,ffffffffc0200f4a <alloc_pages>
ffffffffc020097e:	05040793          	addi	a5,s0,80
ffffffffc0200982:	84aa                	mv	s1,a0
ffffffffc0200984:	1af51463          	bne	a0,a5,ffffffffc0200b2c <buddy_check+0x1e2>
ffffffffc0200988:	641c                	ld	a5,8(s0)
ffffffffc020098a:	8b85                	andi	a5,a5,1
ffffffffc020098c:	12079063          	bnez	a5,ffffffffc0200aac <buddy_check+0x162>
ffffffffc0200990:	641c                	ld	a5,8(s0)
ffffffffc0200992:	8385                	srli	a5,a5,0x1
ffffffffc0200994:	8b85                	andi	a5,a5,1
ffffffffc0200996:	10079b63          	bnez	a5,ffffffffc0200aac <buddy_check+0x162>
ffffffffc020099a:	651c                	ld	a5,8(a0)
ffffffffc020099c:	8b85                	andi	a5,a5,1
ffffffffc020099e:	0e079763          	bnez	a5,ffffffffc0200a8c <buddy_check+0x142>
ffffffffc02009a2:	651c                	ld	a5,8(a0)
ffffffffc02009a4:	8385                	srli	a5,a5,0x1
ffffffffc02009a6:	8b85                	andi	a5,a5,1
ffffffffc02009a8:	0e079263          	bnez	a5,ffffffffc0200a8c <buddy_check+0x142>
ffffffffc02009ac:	4505                	li	a0,1
ffffffffc02009ae:	59c000ef          	jal	ra,ffffffffc0200f4a <alloc_pages>
ffffffffc02009b2:	02840793          	addi	a5,s0,40
ffffffffc02009b6:	8a2a                	mv	s4,a0
ffffffffc02009b8:	12f51a63          	bne	a0,a5,ffffffffc0200aec <buddy_check+0x1a2>
ffffffffc02009bc:	4521                	li	a0,8
ffffffffc02009be:	58c000ef          	jal	ra,ffffffffc0200f4a <alloc_pages>
ffffffffc02009c2:	14040793          	addi	a5,s0,320
ffffffffc02009c6:	89aa                	mv	s3,a0
ffffffffc02009c8:	24f51263          	bne	a0,a5,ffffffffc0200c0c <buddy_check+0x2c2>
ffffffffc02009cc:	651c                	ld	a5,8(a0)
ffffffffc02009ce:	8385                	srli	a5,a5,0x1
ffffffffc02009d0:	8b85                	andi	a5,a5,1
ffffffffc02009d2:	efc9                	bnez	a5,ffffffffc0200a6c <buddy_check+0x122>
ffffffffc02009d4:	12053783          	ld	a5,288(a0)
ffffffffc02009d8:	8385                	srli	a5,a5,0x1
ffffffffc02009da:	8b85                	andi	a5,a5,1
ffffffffc02009dc:	ebc1                	bnez	a5,ffffffffc0200a6c <buddy_check+0x122>
ffffffffc02009de:	14853783          	ld	a5,328(a0)
ffffffffc02009e2:	8385                	srli	a5,a5,0x1
ffffffffc02009e4:	8b85                	andi	a5,a5,1
ffffffffc02009e6:	c3d9                	beqz	a5,ffffffffc0200a6c <buddy_check+0x122>
ffffffffc02009e8:	4589                	li	a1,2
ffffffffc02009ea:	8526                	mv	a0,s1
ffffffffc02009ec:	5a2000ef          	jal	ra,ffffffffc0200f8e <free_pages>
ffffffffc02009f0:	649c                	ld	a5,8(s1)
ffffffffc02009f2:	8385                	srli	a5,a5,0x1
ffffffffc02009f4:	8b85                	andi	a5,a5,1
ffffffffc02009f6:	0c078b63          	beqz	a5,ffffffffc0200acc <buddy_check+0x182>
ffffffffc02009fa:	789c                	ld	a5,48(s1)
ffffffffc02009fc:	8385                	srli	a5,a5,0x1
ffffffffc02009fe:	8b85                	andi	a5,a5,1
ffffffffc0200a00:	c7f1                	beqz	a5,ffffffffc0200acc <buddy_check+0x182>
ffffffffc0200a02:	409c                	lw	a5,0(s1)
ffffffffc0200a04:	14079463          	bnez	a5,ffffffffc0200b4c <buddy_check+0x202>
ffffffffc0200a08:	4585                	li	a1,1
ffffffffc0200a0a:	8522                	mv	a0,s0
ffffffffc0200a0c:	582000ef          	jal	ra,ffffffffc0200f8e <free_pages>
ffffffffc0200a10:	8552                	mv	a0,s4
ffffffffc0200a12:	4585                	li	a1,1
ffffffffc0200a14:	57a000ef          	jal	ra,ffffffffc0200f8e <free_pages>
ffffffffc0200a18:	450d                	li	a0,3
ffffffffc0200a1a:	530000ef          	jal	ra,ffffffffc0200f4a <alloc_pages>
ffffffffc0200a1e:	16a41763          	bne	s0,a0,ffffffffc0200b8c <buddy_check+0x242>
ffffffffc0200a22:	458d                	li	a1,3
ffffffffc0200a24:	56a000ef          	jal	ra,ffffffffc0200f8e <free_pages>
ffffffffc0200a28:	483c                	lw	a5,80(s0)
ffffffffc0200a2a:	14079163          	bnez	a5,ffffffffc0200b6c <buddy_check+0x222>
ffffffffc0200a2e:	5a6000ef          	jal	ra,ffffffffc0200fd4 <nr_free_pages>
ffffffffc0200a32:	40195913          	srai	s2,s2,0x1
ffffffffc0200a36:	0d251b63          	bne	a0,s2,ffffffffc0200b0c <buddy_check+0x1c2>
ffffffffc0200a3a:	08100513          	li	a0,129
ffffffffc0200a3e:	50c000ef          	jal	ra,ffffffffc0200f4a <alloc_pages>
ffffffffc0200a42:	678d                	lui	a5,0x3
ffffffffc0200a44:	80078793          	addi	a5,a5,-2048 # 2800 <BASE_ADDRESS-0xffffffffc01fd800>
ffffffffc0200a48:	943e                	add	s0,s0,a5
ffffffffc0200a4a:	1a851163          	bne	a0,s0,ffffffffc0200bec <buddy_check+0x2a2>
ffffffffc0200a4e:	10000593          	li	a1,256
ffffffffc0200a52:	53c000ef          	jal	ra,ffffffffc0200f8e <free_pages>
ffffffffc0200a56:	7402                	ld	s0,32(sp)
ffffffffc0200a58:	70a2                	ld	ra,40(sp)
ffffffffc0200a5a:	64e2                	ld	s1,24(sp)
ffffffffc0200a5c:	6942                	ld	s2,16(sp)
ffffffffc0200a5e:	6a02                	ld	s4,0(sp)
ffffffffc0200a60:	854e                	mv	a0,s3
ffffffffc0200a62:	69a2                	ld	s3,8(sp)
ffffffffc0200a64:	45a1                	li	a1,8
ffffffffc0200a66:	6145                	addi	sp,sp,48
ffffffffc0200a68:	5260006f          	j	ffffffffc0200f8e <free_pages>
ffffffffc0200a6c:	00001697          	auipc	a3,0x1
ffffffffc0200a70:	52468693          	addi	a3,a3,1316 # ffffffffc0201f90 <commands+0x720>
ffffffffc0200a74:	00001617          	auipc	a2,0x1
ffffffffc0200a78:	43460613          	addi	a2,a2,1076 # ffffffffc0201ea8 <commands+0x638>
ffffffffc0200a7c:	0a400593          	li	a1,164
ffffffffc0200a80:	00001517          	auipc	a0,0x1
ffffffffc0200a84:	44050513          	addi	a0,a0,1088 # ffffffffc0201ec0 <commands+0x650>
ffffffffc0200a88:	925ff0ef          	jal	ra,ffffffffc02003ac <__panic>
ffffffffc0200a8c:	00001697          	auipc	a3,0x1
ffffffffc0200a90:	4bc68693          	addi	a3,a3,1212 # ffffffffc0201f48 <commands+0x6d8>
ffffffffc0200a94:	00001617          	auipc	a2,0x1
ffffffffc0200a98:	41460613          	addi	a2,a2,1044 # ffffffffc0201ea8 <commands+0x638>
ffffffffc0200a9c:	09e00593          	li	a1,158
ffffffffc0200aa0:	00001517          	auipc	a0,0x1
ffffffffc0200aa4:	42050513          	addi	a0,a0,1056 # ffffffffc0201ec0 <commands+0x650>
ffffffffc0200aa8:	905ff0ef          	jal	ra,ffffffffc02003ac <__panic>
ffffffffc0200aac:	00001697          	auipc	a3,0x1
ffffffffc0200ab0:	47468693          	addi	a3,a3,1140 # ffffffffc0201f20 <commands+0x6b0>
ffffffffc0200ab4:	00001617          	auipc	a2,0x1
ffffffffc0200ab8:	3f460613          	addi	a2,a2,1012 # ffffffffc0201ea8 <commands+0x638>
ffffffffc0200abc:	09d00593          	li	a1,157
ffffffffc0200ac0:	00001517          	auipc	a0,0x1
ffffffffc0200ac4:	40050513          	addi	a0,a0,1024 # ffffffffc0201ec0 <commands+0x650>
ffffffffc0200ac8:	8e5ff0ef          	jal	ra,ffffffffc02003ac <__panic>
ffffffffc0200acc:	00001697          	auipc	a3,0x1
ffffffffc0200ad0:	50c68693          	addi	a3,a3,1292 # ffffffffc0201fd8 <commands+0x768>
ffffffffc0200ad4:	00001617          	auipc	a2,0x1
ffffffffc0200ad8:	3d460613          	addi	a2,a2,980 # ffffffffc0201ea8 <commands+0x638>
ffffffffc0200adc:	0a700593          	li	a1,167
ffffffffc0200ae0:	00001517          	auipc	a0,0x1
ffffffffc0200ae4:	3e050513          	addi	a0,a0,992 # ffffffffc0201ec0 <commands+0x650>
ffffffffc0200ae8:	8c5ff0ef          	jal	ra,ffffffffc02003ac <__panic>
ffffffffc0200aec:	00001697          	auipc	a3,0x1
ffffffffc0200af0:	48468693          	addi	a3,a3,1156 # ffffffffc0201f70 <commands+0x700>
ffffffffc0200af4:	00001617          	auipc	a2,0x1
ffffffffc0200af8:	3b460613          	addi	a2,a2,948 # ffffffffc0201ea8 <commands+0x638>
ffffffffc0200afc:	0a100593          	li	a1,161
ffffffffc0200b00:	00001517          	auipc	a0,0x1
ffffffffc0200b04:	3c050513          	addi	a0,a0,960 # ffffffffc0201ec0 <commands+0x650>
ffffffffc0200b08:	8a5ff0ef          	jal	ra,ffffffffc02003ac <__panic>
ffffffffc0200b0c:	00001697          	auipc	a3,0x1
ffffffffc0200b10:	53468693          	addi	a3,a3,1332 # ffffffffc0202040 <commands+0x7d0>
ffffffffc0200b14:	00001617          	auipc	a2,0x1
ffffffffc0200b18:	39460613          	addi	a2,a2,916 # ffffffffc0201ea8 <commands+0x638>
ffffffffc0200b1c:	0b000593          	li	a1,176
ffffffffc0200b20:	00001517          	auipc	a0,0x1
ffffffffc0200b24:	3a050513          	addi	a0,a0,928 # ffffffffc0201ec0 <commands+0x650>
ffffffffc0200b28:	885ff0ef          	jal	ra,ffffffffc02003ac <__panic>
ffffffffc0200b2c:	00001697          	auipc	a3,0x1
ffffffffc0200b30:	3e468693          	addi	a3,a3,996 # ffffffffc0201f10 <commands+0x6a0>
ffffffffc0200b34:	00001617          	auipc	a2,0x1
ffffffffc0200b38:	37460613          	addi	a2,a2,884 # ffffffffc0201ea8 <commands+0x638>
ffffffffc0200b3c:	09c00593          	li	a1,156
ffffffffc0200b40:	00001517          	auipc	a0,0x1
ffffffffc0200b44:	38050513          	addi	a0,a0,896 # ffffffffc0201ec0 <commands+0x650>
ffffffffc0200b48:	865ff0ef          	jal	ra,ffffffffc02003ac <__panic>
ffffffffc0200b4c:	00001697          	auipc	a3,0x1
ffffffffc0200b50:	4bc68693          	addi	a3,a3,1212 # ffffffffc0202008 <commands+0x798>
ffffffffc0200b54:	00001617          	auipc	a2,0x1
ffffffffc0200b58:	35460613          	addi	a2,a2,852 # ffffffffc0201ea8 <commands+0x638>
ffffffffc0200b5c:	0a800593          	li	a1,168
ffffffffc0200b60:	00001517          	auipc	a0,0x1
ffffffffc0200b64:	36050513          	addi	a0,a0,864 # ffffffffc0201ec0 <commands+0x650>
ffffffffc0200b68:	845ff0ef          	jal	ra,ffffffffc02003ac <__panic>
ffffffffc0200b6c:	00001697          	auipc	a3,0x1
ffffffffc0200b70:	4bc68693          	addi	a3,a3,1212 # ffffffffc0202028 <commands+0x7b8>
ffffffffc0200b74:	00001617          	auipc	a2,0x1
ffffffffc0200b78:	33460613          	addi	a2,a2,820 # ffffffffc0201ea8 <commands+0x638>
ffffffffc0200b7c:	0af00593          	li	a1,175
ffffffffc0200b80:	00001517          	auipc	a0,0x1
ffffffffc0200b84:	34050513          	addi	a0,a0,832 # ffffffffc0201ec0 <commands+0x650>
ffffffffc0200b88:	825ff0ef          	jal	ra,ffffffffc02003ac <__panic>
ffffffffc0200b8c:	00001697          	auipc	a3,0x1
ffffffffc0200b90:	48c68693          	addi	a3,a3,1164 # ffffffffc0202018 <commands+0x7a8>
ffffffffc0200b94:	00001617          	auipc	a2,0x1
ffffffffc0200b98:	31460613          	addi	a2,a2,788 # ffffffffc0201ea8 <commands+0x638>
ffffffffc0200b9c:	0ad00593          	li	a1,173
ffffffffc0200ba0:	00001517          	auipc	a0,0x1
ffffffffc0200ba4:	32050513          	addi	a0,a0,800 # ffffffffc0201ec0 <commands+0x650>
ffffffffc0200ba8:	805ff0ef          	jal	ra,ffffffffc02003ac <__panic>
ffffffffc0200bac:	00001697          	auipc	a3,0x1
ffffffffc0200bb0:	35468693          	addi	a3,a3,852 # ffffffffc0201f00 <commands+0x690>
ffffffffc0200bb4:	00001617          	auipc	a2,0x1
ffffffffc0200bb8:	2f460613          	addi	a2,a2,756 # ffffffffc0201ea8 <commands+0x638>
ffffffffc0200bbc:	09a00593          	li	a1,154
ffffffffc0200bc0:	00001517          	auipc	a0,0x1
ffffffffc0200bc4:	30050513          	addi	a0,a0,768 # ffffffffc0201ec0 <commands+0x650>
ffffffffc0200bc8:	fe4ff0ef          	jal	ra,ffffffffc02003ac <__panic>
ffffffffc0200bcc:	00001697          	auipc	a3,0x1
ffffffffc0200bd0:	30c68693          	addi	a3,a3,780 # ffffffffc0201ed8 <commands+0x668>
ffffffffc0200bd4:	00001617          	auipc	a2,0x1
ffffffffc0200bd8:	2d460613          	addi	a2,a2,724 # ffffffffc0201ea8 <commands+0x638>
ffffffffc0200bdc:	09700593          	li	a1,151
ffffffffc0200be0:	00001517          	auipc	a0,0x1
ffffffffc0200be4:	2e050513          	addi	a0,a0,736 # ffffffffc0201ec0 <commands+0x650>
ffffffffc0200be8:	fc4ff0ef          	jal	ra,ffffffffc02003ac <__panic>
ffffffffc0200bec:	00001697          	auipc	a3,0x1
ffffffffc0200bf0:	47c68693          	addi	a3,a3,1148 # ffffffffc0202068 <commands+0x7f8>
ffffffffc0200bf4:	00001617          	auipc	a2,0x1
ffffffffc0200bf8:	2b460613          	addi	a2,a2,692 # ffffffffc0201ea8 <commands+0x638>
ffffffffc0200bfc:	0b300593          	li	a1,179
ffffffffc0200c00:	00001517          	auipc	a0,0x1
ffffffffc0200c04:	2c050513          	addi	a0,a0,704 # ffffffffc0201ec0 <commands+0x650>
ffffffffc0200c08:	fa4ff0ef          	jal	ra,ffffffffc02003ac <__panic>
ffffffffc0200c0c:	00001697          	auipc	a3,0x1
ffffffffc0200c10:	37468693          	addi	a3,a3,884 # ffffffffc0201f80 <commands+0x710>
ffffffffc0200c14:	00001617          	auipc	a2,0x1
ffffffffc0200c18:	29460613          	addi	a2,a2,660 # ffffffffc0201ea8 <commands+0x638>
ffffffffc0200c1c:	0a300593          	li	a1,163
ffffffffc0200c20:	00001517          	auipc	a0,0x1
ffffffffc0200c24:	2a050513          	addi	a0,a0,672 # ffffffffc0201ec0 <commands+0x650>
ffffffffc0200c28:	f84ff0ef          	jal	ra,ffffffffc02003ac <__panic>

ffffffffc0200c2c <buddy_free_pages>:
ffffffffc0200c2c:	1141                	addi	sp,sp,-16
ffffffffc0200c2e:	e406                	sd	ra,8(sp)
ffffffffc0200c30:	10058863          	beqz	a1,ffffffffc0200d40 <buddy_free_pages+0x114>
ffffffffc0200c34:	00259793          	slli	a5,a1,0x2
ffffffffc0200c38:	00b786b3          	add	a3,a5,a1
ffffffffc0200c3c:	068e                	slli	a3,a3,0x3
ffffffffc0200c3e:	96aa                	add	a3,a3,a0
ffffffffc0200c40:	02d50c63          	beq	a0,a3,ffffffffc0200c78 <buddy_free_pages+0x4c>
ffffffffc0200c44:	651c                	ld	a5,8(a0)
ffffffffc0200c46:	8b85                	andi	a5,a5,1
ffffffffc0200c48:	efe1                	bnez	a5,ffffffffc0200d20 <buddy_free_pages+0xf4>
ffffffffc0200c4a:	651c                	ld	a5,8(a0)
ffffffffc0200c4c:	8385                	srli	a5,a5,0x1
ffffffffc0200c4e:	8b85                	andi	a5,a5,1
ffffffffc0200c50:	ebe1                	bnez	a5,ffffffffc0200d20 <buddy_free_pages+0xf4>
ffffffffc0200c52:	87aa                	mv	a5,a0
ffffffffc0200c54:	4609                	li	a2,2
ffffffffc0200c56:	a039                	j	ffffffffc0200c64 <buddy_free_pages+0x38>
ffffffffc0200c58:	6798                	ld	a4,8(a5)
ffffffffc0200c5a:	8b05                	andi	a4,a4,1
ffffffffc0200c5c:	e371                	bnez	a4,ffffffffc0200d20 <buddy_free_pages+0xf4>
ffffffffc0200c5e:	6798                	ld	a4,8(a5)
ffffffffc0200c60:	8b09                	andi	a4,a4,2
ffffffffc0200c62:	ef5d                	bnez	a4,ffffffffc0200d20 <buddy_free_pages+0xf4>
ffffffffc0200c64:	00878713          	addi	a4,a5,8
ffffffffc0200c68:	40c7302f          	amoor.d	zero,a2,(a4)
ffffffffc0200c6c:	0007a023          	sw	zero,0(a5)
ffffffffc0200c70:	02878793          	addi	a5,a5,40
ffffffffc0200c74:	fed792e3          	bne	a5,a3,ffffffffc0200c58 <buddy_free_pages+0x2c>
ffffffffc0200c78:	00005797          	auipc	a5,0x5
ffffffffc0200c7c:	7b078793          	addi	a5,a5,1968 # ffffffffc0206428 <useable_page_base>
ffffffffc0200c80:	639c                	ld	a5,0(a5)
ffffffffc0200c82:	00001717          	auipc	a4,0x1
ffffffffc0200c86:	3f670713          	addi	a4,a4,1014 # ffffffffc0202078 <commands+0x808>
ffffffffc0200c8a:	6318                	ld	a4,0(a4)
ffffffffc0200c8c:	40f507b3          	sub	a5,a0,a5
ffffffffc0200c90:	878d                	srai	a5,a5,0x3
ffffffffc0200c92:	02e78733          	mul	a4,a5,a4
ffffffffc0200c96:	00005797          	auipc	a5,0x5
ffffffffc0200c9a:	79a78793          	addi	a5,a5,1946 # ffffffffc0206430 <useable_page_num>
ffffffffc0200c9e:	439c                	lw	a5,0(a5)
ffffffffc0200ca0:	00005697          	auipc	a3,0x5
ffffffffc0200ca4:	77868693          	addi	a3,a3,1912 # ffffffffc0206418 <buddy_page>
ffffffffc0200ca8:	628c                	ld	a1,0(a3)
ffffffffc0200caa:	4605                	li	a2,1
ffffffffc0200cac:	9fb9                	addw	a5,a5,a4
ffffffffc0200cae:	02079713          	slli	a4,a5,0x20
ffffffffc0200cb2:	8379                	srli	a4,a4,0x1e
ffffffffc0200cb4:	972e                	add	a4,a4,a1
ffffffffc0200cb6:	4314                	lw	a3,0(a4)
ffffffffc0200cb8:	ca99                	beqz	a3,ffffffffc0200cce <buddy_free_pages+0xa2>
ffffffffc0200cba:	0017d79b          	srliw	a5,a5,0x1
ffffffffc0200cbe:	02079713          	slli	a4,a5,0x20
ffffffffc0200cc2:	8379                	srli	a4,a4,0x1e
ffffffffc0200cc4:	972e                	add	a4,a4,a1
ffffffffc0200cc6:	4314                	lw	a3,0(a4)
ffffffffc0200cc8:	0016161b          	slliw	a2,a2,0x1
ffffffffc0200ccc:	f6fd                	bnez	a3,ffffffffc0200cba <buddy_free_pages+0x8e>
ffffffffc0200cce:	c310                	sw	a2,0(a4)
ffffffffc0200cd0:	a081                	j	ffffffffc0200d10 <buddy_free_pages+0xe4>
ffffffffc0200cd2:	9bf9                	andi	a5,a5,-2
ffffffffc0200cd4:	2781                	sext.w	a5,a5
ffffffffc0200cd6:	0017869b          	addiw	a3,a5,1
ffffffffc0200cda:	1682                	slli	a3,a3,0x20
ffffffffc0200cdc:	1782                	slli	a5,a5,0x20
ffffffffc0200cde:	9381                	srli	a5,a5,0x20
ffffffffc0200ce0:	9281                	srli	a3,a3,0x20
ffffffffc0200ce2:	078a                	slli	a5,a5,0x2
ffffffffc0200ce4:	068a                	slli	a3,a3,0x2
ffffffffc0200ce6:	97ae                	add	a5,a5,a1
ffffffffc0200ce8:	96ae                	add	a3,a3,a1
ffffffffc0200cea:	439c                	lw	a5,0(a5)
ffffffffc0200cec:	4294                	lw	a3,0(a3)
ffffffffc0200cee:	1702                	slli	a4,a4,0x20
ffffffffc0200cf0:	0016161b          	slliw	a2,a2,0x1
ffffffffc0200cf4:	8379                	srli	a4,a4,0x1e
ffffffffc0200cf6:	00d788bb          	addw	a7,a5,a3
ffffffffc0200cfa:	8832                	mv	a6,a2
ffffffffc0200cfc:	972e                	add	a4,a4,a1
ffffffffc0200cfe:	00c88663          	beq	a7,a2,ffffffffc0200d0a <buddy_free_pages+0xde>
ffffffffc0200d02:	883e                	mv	a6,a5
ffffffffc0200d04:	00d7f363          	bleu	a3,a5,ffffffffc0200d0a <buddy_free_pages+0xde>
ffffffffc0200d08:	8836                	mv	a6,a3
ffffffffc0200d0a:	01072023          	sw	a6,0(a4)
ffffffffc0200d0e:	87aa                	mv	a5,a0
ffffffffc0200d10:	0017d71b          	srliw	a4,a5,0x1
ffffffffc0200d14:	0007051b          	sext.w	a0,a4
ffffffffc0200d18:	fd4d                	bnez	a0,ffffffffc0200cd2 <buddy_free_pages+0xa6>
ffffffffc0200d1a:	60a2                	ld	ra,8(sp)
ffffffffc0200d1c:	0141                	addi	sp,sp,16
ffffffffc0200d1e:	8082                	ret
ffffffffc0200d20:	00001697          	auipc	a3,0x1
ffffffffc0200d24:	36068693          	addi	a3,a3,864 # ffffffffc0202080 <commands+0x810>
ffffffffc0200d28:	00001617          	auipc	a2,0x1
ffffffffc0200d2c:	18060613          	addi	a2,a2,384 # ffffffffc0201ea8 <commands+0x638>
ffffffffc0200d30:	07700593          	li	a1,119
ffffffffc0200d34:	00001517          	auipc	a0,0x1
ffffffffc0200d38:	18c50513          	addi	a0,a0,396 # ffffffffc0201ec0 <commands+0x650>
ffffffffc0200d3c:	e70ff0ef          	jal	ra,ffffffffc02003ac <__panic>
ffffffffc0200d40:	00001697          	auipc	a3,0x1
ffffffffc0200d44:	16068693          	addi	a3,a3,352 # ffffffffc0201ea0 <commands+0x630>
ffffffffc0200d48:	00001617          	auipc	a2,0x1
ffffffffc0200d4c:	16060613          	addi	a2,a2,352 # ffffffffc0201ea8 <commands+0x638>
ffffffffc0200d50:	07400593          	li	a1,116
ffffffffc0200d54:	00001517          	auipc	a0,0x1
ffffffffc0200d58:	16c50513          	addi	a0,a0,364 # ffffffffc0201ec0 <commands+0x650>
ffffffffc0200d5c:	e50ff0ef          	jal	ra,ffffffffc02003ac <__panic>

ffffffffc0200d60 <buddy_init_memmap>:
ffffffffc0200d60:	1141                	addi	sp,sp,-16
ffffffffc0200d62:	e406                	sd	ra,8(sp)
ffffffffc0200d64:	1c058463          	beqz	a1,ffffffffc0200f2c <buddy_init_memmap+0x1cc>
ffffffffc0200d68:	46f5                	li	a3,29
ffffffffc0200d6a:	4601                	li	a2,0
ffffffffc0200d6c:	4705                	li	a4,1
ffffffffc0200d6e:	a801                	j	ffffffffc0200d7e <buddy_init_memmap+0x1e>
ffffffffc0200d70:	36fd                	addiw	a3,a3,-1
ffffffffc0200d72:	0017179b          	slliw	a5,a4,0x1
ffffffffc0200d76:	4605                	li	a2,1
ffffffffc0200d78:	16068b63          	beqz	a3,ffffffffc0200eee <buddy_init_memmap+0x18e>
ffffffffc0200d7c:	873e                	mv	a4,a5
ffffffffc0200d7e:	0097579b          	srliw	a5,a4,0x9
ffffffffc0200d82:	9fb9                	addw	a5,a5,a4
ffffffffc0200d84:	1782                	slli	a5,a5,0x20
ffffffffc0200d86:	9381                	srli	a5,a5,0x20
ffffffffc0200d88:	feb7e4e3          	bltu	a5,a1,ffffffffc0200d70 <buddy_init_memmap+0x10>
ffffffffc0200d8c:	14060c63          	beqz	a2,ffffffffc0200ee4 <buddy_init_memmap+0x184>
ffffffffc0200d90:	00a7579b          	srliw	a5,a4,0xa
ffffffffc0200d94:	2785                	addiw	a5,a5,1
ffffffffc0200d96:	02079613          	slli	a2,a5,0x20
ffffffffc0200d9a:	9201                	srli	a2,a2,0x20
ffffffffc0200d9c:	00261693          	slli	a3,a2,0x2
ffffffffc0200da0:	96b2                	add	a3,a3,a2
ffffffffc0200da2:	0017571b          	srliw	a4,a4,0x1
ffffffffc0200da6:	068e                	slli	a3,a3,0x3
ffffffffc0200da8:	96aa                	add	a3,a3,a0
ffffffffc0200daa:	00005817          	auipc	a6,0x5
ffffffffc0200dae:	68e82323          	sw	a4,1670(a6) # ffffffffc0206430 <useable_page_num>
ffffffffc0200db2:	00850613          	addi	a2,a0,8
ffffffffc0200db6:	00005717          	auipc	a4,0x5
ffffffffc0200dba:	66f72523          	sw	a5,1642(a4) # ffffffffc0206420 <buddy_page_num>
ffffffffc0200dbe:	00005797          	auipc	a5,0x5
ffffffffc0200dc2:	66d7b523          	sd	a3,1642(a5) # ffffffffc0206428 <useable_page_base>
ffffffffc0200dc6:	8732                	mv	a4,a2
ffffffffc0200dc8:	4781                	li	a5,0
ffffffffc0200dca:	00005817          	auipc	a6,0x5
ffffffffc0200dce:	65680813          	addi	a6,a6,1622 # ffffffffc0206420 <buddy_page_num>
ffffffffc0200dd2:	4885                	li	a7,1
ffffffffc0200dd4:	4117302f          	amoor.d	zero,a7,(a4)
ffffffffc0200dd8:	00082683          	lw	a3,0(a6)
ffffffffc0200ddc:	2785                	addiw	a5,a5,1
ffffffffc0200dde:	02870713          	addi	a4,a4,40
ffffffffc0200de2:	fef699e3          	bne	a3,a5,ffffffffc0200dd4 <buddy_init_memmap+0x74>
ffffffffc0200de6:	02079713          	slli	a4,a5,0x20
ffffffffc0200dea:	9301                	srli	a4,a4,0x20
ffffffffc0200dec:	02e58963          	beq	a1,a4,ffffffffc0200e1e <buddy_init_memmap+0xbe>
ffffffffc0200df0:	00271793          	slli	a5,a4,0x2
ffffffffc0200df4:	97ba                	add	a5,a5,a4
ffffffffc0200df6:	00259713          	slli	a4,a1,0x2
ffffffffc0200dfa:	078e                	slli	a5,a5,0x3
ffffffffc0200dfc:	972e                	add	a4,a4,a1
ffffffffc0200dfe:	07a1                	addi	a5,a5,8
ffffffffc0200e00:	070e                	slli	a4,a4,0x3
ffffffffc0200e02:	9732                	add	a4,a4,a2
ffffffffc0200e04:	97aa                	add	a5,a5,a0
ffffffffc0200e06:	5679                	li	a2,-2
ffffffffc0200e08:	4689                	li	a3,2
ffffffffc0200e0a:	60c7b02f          	amoand.d	zero,a2,(a5)
ffffffffc0200e0e:	40d7b02f          	amoor.d	zero,a3,(a5)
ffffffffc0200e12:	fe07ac23          	sw	zero,-8(a5)
ffffffffc0200e16:	02878793          	addi	a5,a5,40
ffffffffc0200e1a:	fef718e3          	bne	a4,a5,ffffffffc0200e0a <buddy_init_memmap+0xaa>
ffffffffc0200e1e:	00005797          	auipc	a5,0x5
ffffffffc0200e22:	65278793          	addi	a5,a5,1618 # ffffffffc0206470 <pages>
ffffffffc0200e26:	639c                	ld	a5,0(a5)
ffffffffc0200e28:	00005717          	auipc	a4,0x5
ffffffffc0200e2c:	61070713          	addi	a4,a4,1552 # ffffffffc0206438 <npage>
ffffffffc0200e30:	6318                	ld	a4,0(a4)
ffffffffc0200e32:	40f506b3          	sub	a3,a0,a5
ffffffffc0200e36:	00001797          	auipc	a5,0x1
ffffffffc0200e3a:	24278793          	addi	a5,a5,578 # ffffffffc0202078 <commands+0x808>
ffffffffc0200e3e:	6388                	ld	a0,0(a5)
ffffffffc0200e40:	868d                	srai	a3,a3,0x3
ffffffffc0200e42:	00001797          	auipc	a5,0x1
ffffffffc0200e46:	68678793          	addi	a5,a5,1670 # ffffffffc02024c8 <nbase>
ffffffffc0200e4a:	02a686b3          	mul	a3,a3,a0
ffffffffc0200e4e:	6388                	ld	a0,0(a5)
ffffffffc0200e50:	57fd                	li	a5,-1
ffffffffc0200e52:	83b1                	srli	a5,a5,0xc
ffffffffc0200e54:	96aa                	add	a3,a3,a0
ffffffffc0200e56:	8ff5                	and	a5,a5,a3
ffffffffc0200e58:	00c69513          	slli	a0,a3,0xc
ffffffffc0200e5c:	0ae7fb63          	bleu	a4,a5,ffffffffc0200f12 <buddy_init_memmap+0x1b2>
ffffffffc0200e60:	00005797          	auipc	a5,0x5
ffffffffc0200e64:	5d078793          	addi	a5,a5,1488 # ffffffffc0206430 <useable_page_num>
ffffffffc0200e68:	4394                	lw	a3,0(a5)
ffffffffc0200e6a:	00005797          	auipc	a5,0x5
ffffffffc0200e6e:	5fe78793          	addi	a5,a5,1534 # ffffffffc0206468 <va_pa_offset>
ffffffffc0200e72:	639c                	ld	a5,0(a5)
ffffffffc0200e74:	0016961b          	slliw	a2,a3,0x1
ffffffffc0200e78:	953e                	add	a0,a0,a5
ffffffffc0200e7a:	00005797          	auipc	a5,0x5
ffffffffc0200e7e:	58a7bf23          	sd	a0,1438(a5) # ffffffffc0206418 <buddy_page>
ffffffffc0200e82:	0006879b          	sext.w	a5,a3
ffffffffc0200e86:	02c6f263          	bleu	a2,a3,ffffffffc0200eaa <buddy_init_memmap+0x14a>
ffffffffc0200e8a:	40d6073b          	subw	a4,a2,a3
ffffffffc0200e8e:	377d                	addiw	a4,a4,-1
ffffffffc0200e90:	1702                	slli	a4,a4,0x20
ffffffffc0200e92:	9301                	srli	a4,a4,0x20
ffffffffc0200e94:	973e                	add	a4,a4,a5
ffffffffc0200e96:	0705                	addi	a4,a4,1
ffffffffc0200e98:	078a                	slli	a5,a5,0x2
ffffffffc0200e9a:	070a                	slli	a4,a4,0x2
ffffffffc0200e9c:	97aa                	add	a5,a5,a0
ffffffffc0200e9e:	972a                	add	a4,a4,a0
ffffffffc0200ea0:	4605                	li	a2,1
ffffffffc0200ea2:	c390                	sw	a2,0(a5)
ffffffffc0200ea4:	0791                	addi	a5,a5,4
ffffffffc0200ea6:	fef71ee3          	bne	a4,a5,ffffffffc0200ea2 <buddy_init_memmap+0x142>
ffffffffc0200eaa:	fff6861b          	addiw	a2,a3,-1
ffffffffc0200eae:	02c05163          	blez	a2,ffffffffc0200ed0 <buddy_init_memmap+0x170>
ffffffffc0200eb2:	0016979b          	slliw	a5,a3,0x1
ffffffffc0200eb6:	060a                	slli	a2,a2,0x2
ffffffffc0200eb8:	37f9                	addiw	a5,a5,-2
ffffffffc0200eba:	962a                	add	a2,a2,a0
ffffffffc0200ebc:	00279713          	slli	a4,a5,0x2
ffffffffc0200ec0:	972a                	add	a4,a4,a0
ffffffffc0200ec2:	4318                	lw	a4,0(a4)
ffffffffc0200ec4:	1671                	addi	a2,a2,-4
ffffffffc0200ec6:	37f9                	addiw	a5,a5,-2
ffffffffc0200ec8:	0017171b          	slliw	a4,a4,0x1
ffffffffc0200ecc:	c258                	sw	a4,4(a2)
ffffffffc0200ece:	f7fd                	bnez	a5,ffffffffc0200ebc <buddy_init_memmap+0x15c>
ffffffffc0200ed0:	60a2                	ld	ra,8(sp)
ffffffffc0200ed2:	00082603          	lw	a2,0(a6)
ffffffffc0200ed6:	00001517          	auipc	a0,0x1
ffffffffc0200eda:	20250513          	addi	a0,a0,514 # ffffffffc02020d8 <commands+0x868>
ffffffffc0200ede:	0141                	addi	sp,sp,16
ffffffffc0200ee0:	9d6ff06f          	j	ffffffffc02000b6 <cprintf>
ffffffffc0200ee4:	02800693          	li	a3,40
ffffffffc0200ee8:	4785                	li	a5,1
ffffffffc0200eea:	4701                	li	a4,0
ffffffffc0200eec:	bd75                	j	ffffffffc0200da8 <buddy_init_memmap+0x48>
ffffffffc0200eee:	00a7d79b          	srliw	a5,a5,0xa
ffffffffc0200ef2:	2785                	addiw	a5,a5,1
ffffffffc0200ef4:	02079813          	slli	a6,a5,0x20
ffffffffc0200ef8:	02085813          	srli	a6,a6,0x20
ffffffffc0200efc:	80000637          	lui	a2,0x80000
ffffffffc0200f00:	00281693          	slli	a3,a6,0x2
ffffffffc0200f04:	fff64613          	not	a2,a2
ffffffffc0200f08:	8f71                	and	a4,a4,a2
ffffffffc0200f0a:	96c2                	add	a3,a3,a6
ffffffffc0200f0c:	2701                	sext.w	a4,a4
ffffffffc0200f0e:	068e                	slli	a3,a3,0x3
ffffffffc0200f10:	bd61                	j	ffffffffc0200da8 <buddy_init_memmap+0x48>
ffffffffc0200f12:	86aa                	mv	a3,a0
ffffffffc0200f14:	00001617          	auipc	a2,0x1
ffffffffc0200f18:	19c60613          	addi	a2,a2,412 # ffffffffc02020b0 <commands+0x840>
ffffffffc0200f1c:	03400593          	li	a1,52
ffffffffc0200f20:	00001517          	auipc	a0,0x1
ffffffffc0200f24:	fa050513          	addi	a0,a0,-96 # ffffffffc0201ec0 <commands+0x650>
ffffffffc0200f28:	c84ff0ef          	jal	ra,ffffffffc02003ac <__panic>
ffffffffc0200f2c:	00001697          	auipc	a3,0x1
ffffffffc0200f30:	17c68693          	addi	a3,a3,380 # ffffffffc02020a8 <commands+0x838>
ffffffffc0200f34:	00001617          	auipc	a2,0x1
ffffffffc0200f38:	f7460613          	addi	a2,a2,-140 # ffffffffc0201ea8 <commands+0x638>
ffffffffc0200f3c:	45f1                	li	a1,28
ffffffffc0200f3e:	00001517          	auipc	a0,0x1
ffffffffc0200f42:	f8250513          	addi	a0,a0,-126 # ffffffffc0201ec0 <commands+0x650>
ffffffffc0200f46:	c66ff0ef          	jal	ra,ffffffffc02003ac <__panic>

ffffffffc0200f4a <alloc_pages>:
ffffffffc0200f4a:	100027f3          	csrr	a5,sstatus
ffffffffc0200f4e:	8b89                	andi	a5,a5,2
ffffffffc0200f50:	eb89                	bnez	a5,ffffffffc0200f62 <alloc_pages+0x18>
ffffffffc0200f52:	00005797          	auipc	a5,0x5
ffffffffc0200f56:	50e78793          	addi	a5,a5,1294 # ffffffffc0206460 <pmm_manager>
ffffffffc0200f5a:	639c                	ld	a5,0(a5)
ffffffffc0200f5c:	0187b303          	ld	t1,24(a5)
ffffffffc0200f60:	8302                	jr	t1
ffffffffc0200f62:	1141                	addi	sp,sp,-16
ffffffffc0200f64:	e406                	sd	ra,8(sp)
ffffffffc0200f66:	e022                	sd	s0,0(sp)
ffffffffc0200f68:	842a                	mv	s0,a0
ffffffffc0200f6a:	cfaff0ef          	jal	ra,ffffffffc0200464 <intr_disable>
ffffffffc0200f6e:	00005797          	auipc	a5,0x5
ffffffffc0200f72:	4f278793          	addi	a5,a5,1266 # ffffffffc0206460 <pmm_manager>
ffffffffc0200f76:	639c                	ld	a5,0(a5)
ffffffffc0200f78:	8522                	mv	a0,s0
ffffffffc0200f7a:	6f9c                	ld	a5,24(a5)
ffffffffc0200f7c:	9782                	jalr	a5
ffffffffc0200f7e:	842a                	mv	s0,a0
ffffffffc0200f80:	cdeff0ef          	jal	ra,ffffffffc020045e <intr_enable>
ffffffffc0200f84:	8522                	mv	a0,s0
ffffffffc0200f86:	60a2                	ld	ra,8(sp)
ffffffffc0200f88:	6402                	ld	s0,0(sp)
ffffffffc0200f8a:	0141                	addi	sp,sp,16
ffffffffc0200f8c:	8082                	ret

ffffffffc0200f8e <free_pages>:
ffffffffc0200f8e:	100027f3          	csrr	a5,sstatus
ffffffffc0200f92:	8b89                	andi	a5,a5,2
ffffffffc0200f94:	eb89                	bnez	a5,ffffffffc0200fa6 <free_pages+0x18>
ffffffffc0200f96:	00005797          	auipc	a5,0x5
ffffffffc0200f9a:	4ca78793          	addi	a5,a5,1226 # ffffffffc0206460 <pmm_manager>
ffffffffc0200f9e:	639c                	ld	a5,0(a5)
ffffffffc0200fa0:	0207b303          	ld	t1,32(a5)
ffffffffc0200fa4:	8302                	jr	t1
ffffffffc0200fa6:	1101                	addi	sp,sp,-32
ffffffffc0200fa8:	ec06                	sd	ra,24(sp)
ffffffffc0200faa:	e822                	sd	s0,16(sp)
ffffffffc0200fac:	e426                	sd	s1,8(sp)
ffffffffc0200fae:	842a                	mv	s0,a0
ffffffffc0200fb0:	84ae                	mv	s1,a1
ffffffffc0200fb2:	cb2ff0ef          	jal	ra,ffffffffc0200464 <intr_disable>
ffffffffc0200fb6:	00005797          	auipc	a5,0x5
ffffffffc0200fba:	4aa78793          	addi	a5,a5,1194 # ffffffffc0206460 <pmm_manager>
ffffffffc0200fbe:	639c                	ld	a5,0(a5)
ffffffffc0200fc0:	85a6                	mv	a1,s1
ffffffffc0200fc2:	8522                	mv	a0,s0
ffffffffc0200fc4:	739c                	ld	a5,32(a5)
ffffffffc0200fc6:	9782                	jalr	a5
ffffffffc0200fc8:	6442                	ld	s0,16(sp)
ffffffffc0200fca:	60e2                	ld	ra,24(sp)
ffffffffc0200fcc:	64a2                	ld	s1,8(sp)
ffffffffc0200fce:	6105                	addi	sp,sp,32
ffffffffc0200fd0:	c8eff06f          	j	ffffffffc020045e <intr_enable>

ffffffffc0200fd4 <nr_free_pages>:
ffffffffc0200fd4:	100027f3          	csrr	a5,sstatus
ffffffffc0200fd8:	8b89                	andi	a5,a5,2
ffffffffc0200fda:	eb89                	bnez	a5,ffffffffc0200fec <nr_free_pages+0x18>
ffffffffc0200fdc:	00005797          	auipc	a5,0x5
ffffffffc0200fe0:	48478793          	addi	a5,a5,1156 # ffffffffc0206460 <pmm_manager>
ffffffffc0200fe4:	639c                	ld	a5,0(a5)
ffffffffc0200fe6:	0287b303          	ld	t1,40(a5)
ffffffffc0200fea:	8302                	jr	t1
ffffffffc0200fec:	1141                	addi	sp,sp,-16
ffffffffc0200fee:	e406                	sd	ra,8(sp)
ffffffffc0200ff0:	e022                	sd	s0,0(sp)
ffffffffc0200ff2:	c72ff0ef          	jal	ra,ffffffffc0200464 <intr_disable>
ffffffffc0200ff6:	00005797          	auipc	a5,0x5
ffffffffc0200ffa:	46a78793          	addi	a5,a5,1130 # ffffffffc0206460 <pmm_manager>
ffffffffc0200ffe:	639c                	ld	a5,0(a5)
ffffffffc0201000:	779c                	ld	a5,40(a5)
ffffffffc0201002:	9782                	jalr	a5
ffffffffc0201004:	842a                	mv	s0,a0
ffffffffc0201006:	c58ff0ef          	jal	ra,ffffffffc020045e <intr_enable>
ffffffffc020100a:	8522                	mv	a0,s0
ffffffffc020100c:	60a2                	ld	ra,8(sp)
ffffffffc020100e:	6402                	ld	s0,0(sp)
ffffffffc0201010:	0141                	addi	sp,sp,16
ffffffffc0201012:	8082                	ret

ffffffffc0201014 <pmm_init>:
ffffffffc0201014:	00001797          	auipc	a5,0x1
ffffffffc0201018:	0f478793          	addi	a5,a5,244 # ffffffffc0202108 <buddy_pmm_manager>
ffffffffc020101c:	638c                	ld	a1,0(a5)
ffffffffc020101e:	1101                	addi	sp,sp,-32
ffffffffc0201020:	00001517          	auipc	a0,0x1
ffffffffc0201024:	13850513          	addi	a0,a0,312 # ffffffffc0202158 <buddy_pmm_manager+0x50>
ffffffffc0201028:	ec06                	sd	ra,24(sp)
ffffffffc020102a:	00005717          	auipc	a4,0x5
ffffffffc020102e:	42f73b23          	sd	a5,1078(a4) # ffffffffc0206460 <pmm_manager>
ffffffffc0201032:	e822                	sd	s0,16(sp)
ffffffffc0201034:	e426                	sd	s1,8(sp)
ffffffffc0201036:	00005417          	auipc	s0,0x5
ffffffffc020103a:	42a40413          	addi	s0,s0,1066 # ffffffffc0206460 <pmm_manager>
ffffffffc020103e:	878ff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0201042:	601c                	ld	a5,0(s0)
ffffffffc0201044:	679c                	ld	a5,8(a5)
ffffffffc0201046:	9782                	jalr	a5
ffffffffc0201048:	57f5                	li	a5,-3
ffffffffc020104a:	07fa                	slli	a5,a5,0x1e
ffffffffc020104c:	00001517          	auipc	a0,0x1
ffffffffc0201050:	12450513          	addi	a0,a0,292 # ffffffffc0202170 <buddy_pmm_manager+0x68>
ffffffffc0201054:	00005717          	auipc	a4,0x5
ffffffffc0201058:	40f73a23          	sd	a5,1044(a4) # ffffffffc0206468 <va_pa_offset>
ffffffffc020105c:	85aff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0201060:	46c5                	li	a3,17
ffffffffc0201062:	06ee                	slli	a3,a3,0x1b
ffffffffc0201064:	40100613          	li	a2,1025
ffffffffc0201068:	16fd                	addi	a3,a3,-1
ffffffffc020106a:	0656                	slli	a2,a2,0x15
ffffffffc020106c:	07e005b7          	lui	a1,0x7e00
ffffffffc0201070:	00001517          	auipc	a0,0x1
ffffffffc0201074:	11850513          	addi	a0,a0,280 # ffffffffc0202188 <buddy_pmm_manager+0x80>
ffffffffc0201078:	83eff0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc020107c:	777d                	lui	a4,0xfffff
ffffffffc020107e:	00006797          	auipc	a5,0x6
ffffffffc0201082:	3f978793          	addi	a5,a5,1017 # ffffffffc0207477 <end+0xfff>
ffffffffc0201086:	8ff9                	and	a5,a5,a4
ffffffffc0201088:	00088737          	lui	a4,0x88
ffffffffc020108c:	00005697          	auipc	a3,0x5
ffffffffc0201090:	3ae6b623          	sd	a4,940(a3) # ffffffffc0206438 <npage>
ffffffffc0201094:	4601                	li	a2,0
ffffffffc0201096:	00005717          	auipc	a4,0x5
ffffffffc020109a:	3cf73d23          	sd	a5,986(a4) # ffffffffc0206470 <pages>
ffffffffc020109e:	4681                	li	a3,0
ffffffffc02010a0:	00005897          	auipc	a7,0x5
ffffffffc02010a4:	39888893          	addi	a7,a7,920 # ffffffffc0206438 <npage>
ffffffffc02010a8:	00005597          	auipc	a1,0x5
ffffffffc02010ac:	3c858593          	addi	a1,a1,968 # ffffffffc0206470 <pages>
ffffffffc02010b0:	4805                	li	a6,1
ffffffffc02010b2:	fff80537          	lui	a0,0xfff80
ffffffffc02010b6:	a011                	j	ffffffffc02010ba <pmm_init+0xa6>
ffffffffc02010b8:	619c                	ld	a5,0(a1)
ffffffffc02010ba:	97b2                	add	a5,a5,a2
ffffffffc02010bc:	07a1                	addi	a5,a5,8
ffffffffc02010be:	4107b02f          	amoor.d	zero,a6,(a5)
ffffffffc02010c2:	0008b703          	ld	a4,0(a7)
ffffffffc02010c6:	0685                	addi	a3,a3,1
ffffffffc02010c8:	02860613          	addi	a2,a2,40
ffffffffc02010cc:	00a707b3          	add	a5,a4,a0
ffffffffc02010d0:	fef6e4e3          	bltu	a3,a5,ffffffffc02010b8 <pmm_init+0xa4>
ffffffffc02010d4:	6190                	ld	a2,0(a1)
ffffffffc02010d6:	00271793          	slli	a5,a4,0x2
ffffffffc02010da:	97ba                	add	a5,a5,a4
ffffffffc02010dc:	fec006b7          	lui	a3,0xfec00
ffffffffc02010e0:	078e                	slli	a5,a5,0x3
ffffffffc02010e2:	96b2                	add	a3,a3,a2
ffffffffc02010e4:	96be                	add	a3,a3,a5
ffffffffc02010e6:	c02007b7          	lui	a5,0xc0200
ffffffffc02010ea:	08f6e863          	bltu	a3,a5,ffffffffc020117a <pmm_init+0x166>
ffffffffc02010ee:	00005497          	auipc	s1,0x5
ffffffffc02010f2:	37a48493          	addi	s1,s1,890 # ffffffffc0206468 <va_pa_offset>
ffffffffc02010f6:	609c                	ld	a5,0(s1)
ffffffffc02010f8:	45c5                	li	a1,17
ffffffffc02010fa:	05ee                	slli	a1,a1,0x1b
ffffffffc02010fc:	8e9d                	sub	a3,a3,a5
ffffffffc02010fe:	04b6e963          	bltu	a3,a1,ffffffffc0201150 <pmm_init+0x13c>
ffffffffc0201102:	601c                	ld	a5,0(s0)
ffffffffc0201104:	7b9c                	ld	a5,48(a5)
ffffffffc0201106:	9782                	jalr	a5
ffffffffc0201108:	00001517          	auipc	a0,0x1
ffffffffc020110c:	11850513          	addi	a0,a0,280 # ffffffffc0202220 <buddy_pmm_manager+0x118>
ffffffffc0201110:	fa7fe0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc0201114:	00004697          	auipc	a3,0x4
ffffffffc0201118:	eec68693          	addi	a3,a3,-276 # ffffffffc0205000 <boot_page_table_sv39>
ffffffffc020111c:	00005797          	auipc	a5,0x5
ffffffffc0201120:	32d7b223          	sd	a3,804(a5) # ffffffffc0206440 <satp_virtual>
ffffffffc0201124:	c02007b7          	lui	a5,0xc0200
ffffffffc0201128:	06f6e563          	bltu	a3,a5,ffffffffc0201192 <pmm_init+0x17e>
ffffffffc020112c:	609c                	ld	a5,0(s1)
ffffffffc020112e:	6442                	ld	s0,16(sp)
ffffffffc0201130:	60e2                	ld	ra,24(sp)
ffffffffc0201132:	64a2                	ld	s1,8(sp)
ffffffffc0201134:	85b6                	mv	a1,a3
ffffffffc0201136:	8e9d                	sub	a3,a3,a5
ffffffffc0201138:	00005797          	auipc	a5,0x5
ffffffffc020113c:	32d7b023          	sd	a3,800(a5) # ffffffffc0206458 <satp_physical>
ffffffffc0201140:	00001517          	auipc	a0,0x1
ffffffffc0201144:	10050513          	addi	a0,a0,256 # ffffffffc0202240 <buddy_pmm_manager+0x138>
ffffffffc0201148:	8636                	mv	a2,a3
ffffffffc020114a:	6105                	addi	sp,sp,32
ffffffffc020114c:	f6bfe06f          	j	ffffffffc02000b6 <cprintf>
ffffffffc0201150:	6785                	lui	a5,0x1
ffffffffc0201152:	17fd                	addi	a5,a5,-1
ffffffffc0201154:	96be                	add	a3,a3,a5
ffffffffc0201156:	77fd                	lui	a5,0xfffff
ffffffffc0201158:	8efd                	and	a3,a3,a5
ffffffffc020115a:	00c6d793          	srli	a5,a3,0xc
ffffffffc020115e:	04e7f663          	bleu	a4,a5,ffffffffc02011aa <pmm_init+0x196>
ffffffffc0201162:	6018                	ld	a4,0(s0)
ffffffffc0201164:	97aa                	add	a5,a5,a0
ffffffffc0201166:	00279513          	slli	a0,a5,0x2
ffffffffc020116a:	953e                	add	a0,a0,a5
ffffffffc020116c:	6b1c                	ld	a5,16(a4)
ffffffffc020116e:	8d95                	sub	a1,a1,a3
ffffffffc0201170:	050e                	slli	a0,a0,0x3
ffffffffc0201172:	81b1                	srli	a1,a1,0xc
ffffffffc0201174:	9532                	add	a0,a0,a2
ffffffffc0201176:	9782                	jalr	a5
ffffffffc0201178:	b769                	j	ffffffffc0201102 <pmm_init+0xee>
ffffffffc020117a:	00001617          	auipc	a2,0x1
ffffffffc020117e:	03e60613          	addi	a2,a2,62 # ffffffffc02021b8 <buddy_pmm_manager+0xb0>
ffffffffc0201182:	07200593          	li	a1,114
ffffffffc0201186:	00001517          	auipc	a0,0x1
ffffffffc020118a:	05a50513          	addi	a0,a0,90 # ffffffffc02021e0 <buddy_pmm_manager+0xd8>
ffffffffc020118e:	a1eff0ef          	jal	ra,ffffffffc02003ac <__panic>
ffffffffc0201192:	00001617          	auipc	a2,0x1
ffffffffc0201196:	02660613          	addi	a2,a2,38 # ffffffffc02021b8 <buddy_pmm_manager+0xb0>
ffffffffc020119a:	08d00593          	li	a1,141
ffffffffc020119e:	00001517          	auipc	a0,0x1
ffffffffc02011a2:	04250513          	addi	a0,a0,66 # ffffffffc02021e0 <buddy_pmm_manager+0xd8>
ffffffffc02011a6:	a06ff0ef          	jal	ra,ffffffffc02003ac <__panic>
ffffffffc02011aa:	00001617          	auipc	a2,0x1
ffffffffc02011ae:	04660613          	addi	a2,a2,70 # ffffffffc02021f0 <buddy_pmm_manager+0xe8>
ffffffffc02011b2:	06d00593          	li	a1,109
ffffffffc02011b6:	00001517          	auipc	a0,0x1
ffffffffc02011ba:	05a50513          	addi	a0,a0,90 # ffffffffc0202210 <buddy_pmm_manager+0x108>
ffffffffc02011be:	9eeff0ef          	jal	ra,ffffffffc02003ac <__panic>

ffffffffc02011c2 <printnum>:
ffffffffc02011c2:	02069813          	slli	a6,a3,0x20
ffffffffc02011c6:	7179                	addi	sp,sp,-48
ffffffffc02011c8:	02085813          	srli	a6,a6,0x20
ffffffffc02011cc:	e052                	sd	s4,0(sp)
ffffffffc02011ce:	03067a33          	remu	s4,a2,a6
ffffffffc02011d2:	f022                	sd	s0,32(sp)
ffffffffc02011d4:	ec26                	sd	s1,24(sp)
ffffffffc02011d6:	e84a                	sd	s2,16(sp)
ffffffffc02011d8:	f406                	sd	ra,40(sp)
ffffffffc02011da:	e44e                	sd	s3,8(sp)
ffffffffc02011dc:	84aa                	mv	s1,a0
ffffffffc02011de:	892e                	mv	s2,a1
ffffffffc02011e0:	fff7041b          	addiw	s0,a4,-1
ffffffffc02011e4:	2a01                	sext.w	s4,s4
ffffffffc02011e6:	03067e63          	bleu	a6,a2,ffffffffc0201222 <printnum+0x60>
ffffffffc02011ea:	89be                	mv	s3,a5
ffffffffc02011ec:	00805763          	blez	s0,ffffffffc02011fa <printnum+0x38>
ffffffffc02011f0:	347d                	addiw	s0,s0,-1
ffffffffc02011f2:	85ca                	mv	a1,s2
ffffffffc02011f4:	854e                	mv	a0,s3
ffffffffc02011f6:	9482                	jalr	s1
ffffffffc02011f8:	fc65                	bnez	s0,ffffffffc02011f0 <printnum+0x2e>
ffffffffc02011fa:	1a02                	slli	s4,s4,0x20
ffffffffc02011fc:	020a5a13          	srli	s4,s4,0x20
ffffffffc0201200:	00001797          	auipc	a5,0x1
ffffffffc0201204:	21078793          	addi	a5,a5,528 # ffffffffc0202410 <error_string+0x38>
ffffffffc0201208:	9a3e                	add	s4,s4,a5
ffffffffc020120a:	7402                	ld	s0,32(sp)
ffffffffc020120c:	000a4503          	lbu	a0,0(s4)
ffffffffc0201210:	70a2                	ld	ra,40(sp)
ffffffffc0201212:	69a2                	ld	s3,8(sp)
ffffffffc0201214:	6a02                	ld	s4,0(sp)
ffffffffc0201216:	85ca                	mv	a1,s2
ffffffffc0201218:	8326                	mv	t1,s1
ffffffffc020121a:	6942                	ld	s2,16(sp)
ffffffffc020121c:	64e2                	ld	s1,24(sp)
ffffffffc020121e:	6145                	addi	sp,sp,48
ffffffffc0201220:	8302                	jr	t1
ffffffffc0201222:	03065633          	divu	a2,a2,a6
ffffffffc0201226:	8722                	mv	a4,s0
ffffffffc0201228:	f9bff0ef          	jal	ra,ffffffffc02011c2 <printnum>
ffffffffc020122c:	b7f9                	j	ffffffffc02011fa <printnum+0x38>

ffffffffc020122e <vprintfmt>:
ffffffffc020122e:	7119                	addi	sp,sp,-128
ffffffffc0201230:	f4a6                	sd	s1,104(sp)
ffffffffc0201232:	f0ca                	sd	s2,96(sp)
ffffffffc0201234:	e8d2                	sd	s4,80(sp)
ffffffffc0201236:	e4d6                	sd	s5,72(sp)
ffffffffc0201238:	e0da                	sd	s6,64(sp)
ffffffffc020123a:	fc5e                	sd	s7,56(sp)
ffffffffc020123c:	f862                	sd	s8,48(sp)
ffffffffc020123e:	f06a                	sd	s10,32(sp)
ffffffffc0201240:	fc86                	sd	ra,120(sp)
ffffffffc0201242:	f8a2                	sd	s0,112(sp)
ffffffffc0201244:	ecce                	sd	s3,88(sp)
ffffffffc0201246:	f466                	sd	s9,40(sp)
ffffffffc0201248:	ec6e                	sd	s11,24(sp)
ffffffffc020124a:	892a                	mv	s2,a0
ffffffffc020124c:	84ae                	mv	s1,a1
ffffffffc020124e:	8d32                	mv	s10,a2
ffffffffc0201250:	8ab6                	mv	s5,a3
ffffffffc0201252:	5b7d                	li	s6,-1
ffffffffc0201254:	00001a17          	auipc	s4,0x1
ffffffffc0201258:	02ca0a13          	addi	s4,s4,44 # ffffffffc0202280 <buddy_pmm_manager+0x178>
ffffffffc020125c:	05e00b93          	li	s7,94
ffffffffc0201260:	00001c17          	auipc	s8,0x1
ffffffffc0201264:	178c0c13          	addi	s8,s8,376 # ffffffffc02023d8 <error_string>
ffffffffc0201268:	000d4503          	lbu	a0,0(s10)
ffffffffc020126c:	02500793          	li	a5,37
ffffffffc0201270:	001d0413          	addi	s0,s10,1
ffffffffc0201274:	00f50e63          	beq	a0,a5,ffffffffc0201290 <vprintfmt+0x62>
ffffffffc0201278:	c521                	beqz	a0,ffffffffc02012c0 <vprintfmt+0x92>
ffffffffc020127a:	02500993          	li	s3,37
ffffffffc020127e:	a011                	j	ffffffffc0201282 <vprintfmt+0x54>
ffffffffc0201280:	c121                	beqz	a0,ffffffffc02012c0 <vprintfmt+0x92>
ffffffffc0201282:	85a6                	mv	a1,s1
ffffffffc0201284:	0405                	addi	s0,s0,1
ffffffffc0201286:	9902                	jalr	s2
ffffffffc0201288:	fff44503          	lbu	a0,-1(s0)
ffffffffc020128c:	ff351ae3          	bne	a0,s3,ffffffffc0201280 <vprintfmt+0x52>
ffffffffc0201290:	00044603          	lbu	a2,0(s0)
ffffffffc0201294:	02000793          	li	a5,32
ffffffffc0201298:	4981                	li	s3,0
ffffffffc020129a:	4801                	li	a6,0
ffffffffc020129c:	5cfd                	li	s9,-1
ffffffffc020129e:	5dfd                	li	s11,-1
ffffffffc02012a0:	05500593          	li	a1,85
ffffffffc02012a4:	4525                	li	a0,9
ffffffffc02012a6:	fdd6069b          	addiw	a3,a2,-35
ffffffffc02012aa:	0ff6f693          	andi	a3,a3,255
ffffffffc02012ae:	00140d13          	addi	s10,s0,1
ffffffffc02012b2:	20d5e563          	bltu	a1,a3,ffffffffc02014bc <vprintfmt+0x28e>
ffffffffc02012b6:	068a                	slli	a3,a3,0x2
ffffffffc02012b8:	96d2                	add	a3,a3,s4
ffffffffc02012ba:	4294                	lw	a3,0(a3)
ffffffffc02012bc:	96d2                	add	a3,a3,s4
ffffffffc02012be:	8682                	jr	a3
ffffffffc02012c0:	70e6                	ld	ra,120(sp)
ffffffffc02012c2:	7446                	ld	s0,112(sp)
ffffffffc02012c4:	74a6                	ld	s1,104(sp)
ffffffffc02012c6:	7906                	ld	s2,96(sp)
ffffffffc02012c8:	69e6                	ld	s3,88(sp)
ffffffffc02012ca:	6a46                	ld	s4,80(sp)
ffffffffc02012cc:	6aa6                	ld	s5,72(sp)
ffffffffc02012ce:	6b06                	ld	s6,64(sp)
ffffffffc02012d0:	7be2                	ld	s7,56(sp)
ffffffffc02012d2:	7c42                	ld	s8,48(sp)
ffffffffc02012d4:	7ca2                	ld	s9,40(sp)
ffffffffc02012d6:	7d02                	ld	s10,32(sp)
ffffffffc02012d8:	6de2                	ld	s11,24(sp)
ffffffffc02012da:	6109                	addi	sp,sp,128
ffffffffc02012dc:	8082                	ret
ffffffffc02012de:	4705                	li	a4,1
ffffffffc02012e0:	008a8593          	addi	a1,s5,8
ffffffffc02012e4:	01074463          	blt	a4,a6,ffffffffc02012ec <vprintfmt+0xbe>
ffffffffc02012e8:	26080363          	beqz	a6,ffffffffc020154e <vprintfmt+0x320>
ffffffffc02012ec:	000ab603          	ld	a2,0(s5)
ffffffffc02012f0:	46c1                	li	a3,16
ffffffffc02012f2:	8aae                	mv	s5,a1
ffffffffc02012f4:	a06d                	j	ffffffffc020139e <vprintfmt+0x170>
ffffffffc02012f6:	00144603          	lbu	a2,1(s0)
ffffffffc02012fa:	4985                	li	s3,1
ffffffffc02012fc:	846a                	mv	s0,s10
ffffffffc02012fe:	b765                	j	ffffffffc02012a6 <vprintfmt+0x78>
ffffffffc0201300:	000aa503          	lw	a0,0(s5)
ffffffffc0201304:	85a6                	mv	a1,s1
ffffffffc0201306:	0aa1                	addi	s5,s5,8
ffffffffc0201308:	9902                	jalr	s2
ffffffffc020130a:	bfb9                	j	ffffffffc0201268 <vprintfmt+0x3a>
ffffffffc020130c:	4705                	li	a4,1
ffffffffc020130e:	008a8993          	addi	s3,s5,8
ffffffffc0201312:	01074463          	blt	a4,a6,ffffffffc020131a <vprintfmt+0xec>
ffffffffc0201316:	22080463          	beqz	a6,ffffffffc020153e <vprintfmt+0x310>
ffffffffc020131a:	000ab403          	ld	s0,0(s5)
ffffffffc020131e:	24044463          	bltz	s0,ffffffffc0201566 <vprintfmt+0x338>
ffffffffc0201322:	8622                	mv	a2,s0
ffffffffc0201324:	8ace                	mv	s5,s3
ffffffffc0201326:	46a9                	li	a3,10
ffffffffc0201328:	a89d                	j	ffffffffc020139e <vprintfmt+0x170>
ffffffffc020132a:	000aa783          	lw	a5,0(s5)
ffffffffc020132e:	4719                	li	a4,6
ffffffffc0201330:	0aa1                	addi	s5,s5,8
ffffffffc0201332:	41f7d69b          	sraiw	a3,a5,0x1f
ffffffffc0201336:	8fb5                	xor	a5,a5,a3
ffffffffc0201338:	40d786bb          	subw	a3,a5,a3
ffffffffc020133c:	1ad74363          	blt	a4,a3,ffffffffc02014e2 <vprintfmt+0x2b4>
ffffffffc0201340:	00369793          	slli	a5,a3,0x3
ffffffffc0201344:	97e2                	add	a5,a5,s8
ffffffffc0201346:	639c                	ld	a5,0(a5)
ffffffffc0201348:	18078d63          	beqz	a5,ffffffffc02014e2 <vprintfmt+0x2b4>
ffffffffc020134c:	86be                	mv	a3,a5
ffffffffc020134e:	00001617          	auipc	a2,0x1
ffffffffc0201352:	17260613          	addi	a2,a2,370 # ffffffffc02024c0 <error_string+0xe8>
ffffffffc0201356:	85a6                	mv	a1,s1
ffffffffc0201358:	854a                	mv	a0,s2
ffffffffc020135a:	240000ef          	jal	ra,ffffffffc020159a <printfmt>
ffffffffc020135e:	b729                	j	ffffffffc0201268 <vprintfmt+0x3a>
ffffffffc0201360:	00144603          	lbu	a2,1(s0)
ffffffffc0201364:	2805                	addiw	a6,a6,1
ffffffffc0201366:	846a                	mv	s0,s10
ffffffffc0201368:	bf3d                	j	ffffffffc02012a6 <vprintfmt+0x78>
ffffffffc020136a:	4705                	li	a4,1
ffffffffc020136c:	008a8593          	addi	a1,s5,8
ffffffffc0201370:	01074463          	blt	a4,a6,ffffffffc0201378 <vprintfmt+0x14a>
ffffffffc0201374:	1e080263          	beqz	a6,ffffffffc0201558 <vprintfmt+0x32a>
ffffffffc0201378:	000ab603          	ld	a2,0(s5)
ffffffffc020137c:	46a1                	li	a3,8
ffffffffc020137e:	8aae                	mv	s5,a1
ffffffffc0201380:	a839                	j	ffffffffc020139e <vprintfmt+0x170>
ffffffffc0201382:	03000513          	li	a0,48
ffffffffc0201386:	85a6                	mv	a1,s1
ffffffffc0201388:	e03e                	sd	a5,0(sp)
ffffffffc020138a:	9902                	jalr	s2
ffffffffc020138c:	85a6                	mv	a1,s1
ffffffffc020138e:	07800513          	li	a0,120
ffffffffc0201392:	9902                	jalr	s2
ffffffffc0201394:	0aa1                	addi	s5,s5,8
ffffffffc0201396:	ff8ab603          	ld	a2,-8(s5)
ffffffffc020139a:	6782                	ld	a5,0(sp)
ffffffffc020139c:	46c1                	li	a3,16
ffffffffc020139e:	876e                	mv	a4,s11
ffffffffc02013a0:	85a6                	mv	a1,s1
ffffffffc02013a2:	854a                	mv	a0,s2
ffffffffc02013a4:	e1fff0ef          	jal	ra,ffffffffc02011c2 <printnum>
ffffffffc02013a8:	b5c1                	j	ffffffffc0201268 <vprintfmt+0x3a>
ffffffffc02013aa:	000ab603          	ld	a2,0(s5)
ffffffffc02013ae:	0aa1                	addi	s5,s5,8
ffffffffc02013b0:	1c060663          	beqz	a2,ffffffffc020157c <vprintfmt+0x34e>
ffffffffc02013b4:	00160413          	addi	s0,a2,1
ffffffffc02013b8:	17b05c63          	blez	s11,ffffffffc0201530 <vprintfmt+0x302>
ffffffffc02013bc:	02d00593          	li	a1,45
ffffffffc02013c0:	14b79263          	bne	a5,a1,ffffffffc0201504 <vprintfmt+0x2d6>
ffffffffc02013c4:	00064783          	lbu	a5,0(a2)
ffffffffc02013c8:	0007851b          	sext.w	a0,a5
ffffffffc02013cc:	c905                	beqz	a0,ffffffffc02013fc <vprintfmt+0x1ce>
ffffffffc02013ce:	000cc563          	bltz	s9,ffffffffc02013d8 <vprintfmt+0x1aa>
ffffffffc02013d2:	3cfd                	addiw	s9,s9,-1
ffffffffc02013d4:	036c8263          	beq	s9,s6,ffffffffc02013f8 <vprintfmt+0x1ca>
ffffffffc02013d8:	85a6                	mv	a1,s1
ffffffffc02013da:	18098463          	beqz	s3,ffffffffc0201562 <vprintfmt+0x334>
ffffffffc02013de:	3781                	addiw	a5,a5,-32
ffffffffc02013e0:	18fbf163          	bleu	a5,s7,ffffffffc0201562 <vprintfmt+0x334>
ffffffffc02013e4:	03f00513          	li	a0,63
ffffffffc02013e8:	9902                	jalr	s2
ffffffffc02013ea:	0405                	addi	s0,s0,1
ffffffffc02013ec:	fff44783          	lbu	a5,-1(s0)
ffffffffc02013f0:	3dfd                	addiw	s11,s11,-1
ffffffffc02013f2:	0007851b          	sext.w	a0,a5
ffffffffc02013f6:	fd61                	bnez	a0,ffffffffc02013ce <vprintfmt+0x1a0>
ffffffffc02013f8:	e7b058e3          	blez	s11,ffffffffc0201268 <vprintfmt+0x3a>
ffffffffc02013fc:	3dfd                	addiw	s11,s11,-1
ffffffffc02013fe:	85a6                	mv	a1,s1
ffffffffc0201400:	02000513          	li	a0,32
ffffffffc0201404:	9902                	jalr	s2
ffffffffc0201406:	e60d81e3          	beqz	s11,ffffffffc0201268 <vprintfmt+0x3a>
ffffffffc020140a:	3dfd                	addiw	s11,s11,-1
ffffffffc020140c:	85a6                	mv	a1,s1
ffffffffc020140e:	02000513          	li	a0,32
ffffffffc0201412:	9902                	jalr	s2
ffffffffc0201414:	fe0d94e3          	bnez	s11,ffffffffc02013fc <vprintfmt+0x1ce>
ffffffffc0201418:	bd81                	j	ffffffffc0201268 <vprintfmt+0x3a>
ffffffffc020141a:	4705                	li	a4,1
ffffffffc020141c:	008a8593          	addi	a1,s5,8
ffffffffc0201420:	01074463          	blt	a4,a6,ffffffffc0201428 <vprintfmt+0x1fa>
ffffffffc0201424:	12080063          	beqz	a6,ffffffffc0201544 <vprintfmt+0x316>
ffffffffc0201428:	000ab603          	ld	a2,0(s5)
ffffffffc020142c:	46a9                	li	a3,10
ffffffffc020142e:	8aae                	mv	s5,a1
ffffffffc0201430:	b7bd                	j	ffffffffc020139e <vprintfmt+0x170>
ffffffffc0201432:	00144603          	lbu	a2,1(s0)
ffffffffc0201436:	02d00793          	li	a5,45
ffffffffc020143a:	846a                	mv	s0,s10
ffffffffc020143c:	b5ad                	j	ffffffffc02012a6 <vprintfmt+0x78>
ffffffffc020143e:	85a6                	mv	a1,s1
ffffffffc0201440:	02500513          	li	a0,37
ffffffffc0201444:	9902                	jalr	s2
ffffffffc0201446:	b50d                	j	ffffffffc0201268 <vprintfmt+0x3a>
ffffffffc0201448:	000aac83          	lw	s9,0(s5)
ffffffffc020144c:	00144603          	lbu	a2,1(s0)
ffffffffc0201450:	0aa1                	addi	s5,s5,8
ffffffffc0201452:	846a                	mv	s0,s10
ffffffffc0201454:	e40dd9e3          	bgez	s11,ffffffffc02012a6 <vprintfmt+0x78>
ffffffffc0201458:	8de6                	mv	s11,s9
ffffffffc020145a:	5cfd                	li	s9,-1
ffffffffc020145c:	b5a9                	j	ffffffffc02012a6 <vprintfmt+0x78>
ffffffffc020145e:	00144603          	lbu	a2,1(s0)
ffffffffc0201462:	03000793          	li	a5,48
ffffffffc0201466:	846a                	mv	s0,s10
ffffffffc0201468:	bd3d                	j	ffffffffc02012a6 <vprintfmt+0x78>
ffffffffc020146a:	fd060c9b          	addiw	s9,a2,-48
ffffffffc020146e:	00144603          	lbu	a2,1(s0)
ffffffffc0201472:	846a                	mv	s0,s10
ffffffffc0201474:	fd06069b          	addiw	a3,a2,-48
ffffffffc0201478:	0006089b          	sext.w	a7,a2
ffffffffc020147c:	fcd56ce3          	bltu	a0,a3,ffffffffc0201454 <vprintfmt+0x226>
ffffffffc0201480:	0405                	addi	s0,s0,1
ffffffffc0201482:	002c969b          	slliw	a3,s9,0x2
ffffffffc0201486:	00044603          	lbu	a2,0(s0)
ffffffffc020148a:	0196873b          	addw	a4,a3,s9
ffffffffc020148e:	0017171b          	slliw	a4,a4,0x1
ffffffffc0201492:	0117073b          	addw	a4,a4,a7
ffffffffc0201496:	fd06069b          	addiw	a3,a2,-48
ffffffffc020149a:	fd070c9b          	addiw	s9,a4,-48
ffffffffc020149e:	0006089b          	sext.w	a7,a2
ffffffffc02014a2:	fcd57fe3          	bleu	a3,a0,ffffffffc0201480 <vprintfmt+0x252>
ffffffffc02014a6:	b77d                	j	ffffffffc0201454 <vprintfmt+0x226>
ffffffffc02014a8:	fffdc693          	not	a3,s11
ffffffffc02014ac:	96fd                	srai	a3,a3,0x3f
ffffffffc02014ae:	00ddfdb3          	and	s11,s11,a3
ffffffffc02014b2:	00144603          	lbu	a2,1(s0)
ffffffffc02014b6:	2d81                	sext.w	s11,s11
ffffffffc02014b8:	846a                	mv	s0,s10
ffffffffc02014ba:	b3f5                	j	ffffffffc02012a6 <vprintfmt+0x78>
ffffffffc02014bc:	85a6                	mv	a1,s1
ffffffffc02014be:	02500513          	li	a0,37
ffffffffc02014c2:	9902                	jalr	s2
ffffffffc02014c4:	fff44703          	lbu	a4,-1(s0)
ffffffffc02014c8:	02500793          	li	a5,37
ffffffffc02014cc:	8d22                	mv	s10,s0
ffffffffc02014ce:	d8f70de3          	beq	a4,a5,ffffffffc0201268 <vprintfmt+0x3a>
ffffffffc02014d2:	02500713          	li	a4,37
ffffffffc02014d6:	1d7d                	addi	s10,s10,-1
ffffffffc02014d8:	fffd4783          	lbu	a5,-1(s10)
ffffffffc02014dc:	fee79de3          	bne	a5,a4,ffffffffc02014d6 <vprintfmt+0x2a8>
ffffffffc02014e0:	b361                	j	ffffffffc0201268 <vprintfmt+0x3a>
ffffffffc02014e2:	00001617          	auipc	a2,0x1
ffffffffc02014e6:	fce60613          	addi	a2,a2,-50 # ffffffffc02024b0 <error_string+0xd8>
ffffffffc02014ea:	85a6                	mv	a1,s1
ffffffffc02014ec:	854a                	mv	a0,s2
ffffffffc02014ee:	0ac000ef          	jal	ra,ffffffffc020159a <printfmt>
ffffffffc02014f2:	bb9d                	j	ffffffffc0201268 <vprintfmt+0x3a>
ffffffffc02014f4:	00001617          	auipc	a2,0x1
ffffffffc02014f8:	fb460613          	addi	a2,a2,-76 # ffffffffc02024a8 <error_string+0xd0>
ffffffffc02014fc:	00001417          	auipc	s0,0x1
ffffffffc0201500:	fad40413          	addi	s0,s0,-83 # ffffffffc02024a9 <error_string+0xd1>
ffffffffc0201504:	8532                	mv	a0,a2
ffffffffc0201506:	85e6                	mv	a1,s9
ffffffffc0201508:	e032                	sd	a2,0(sp)
ffffffffc020150a:	e43e                	sd	a5,8(sp)
ffffffffc020150c:	1c4000ef          	jal	ra,ffffffffc02016d0 <strnlen>
ffffffffc0201510:	40ad8dbb          	subw	s11,s11,a0
ffffffffc0201514:	6602                	ld	a2,0(sp)
ffffffffc0201516:	01b05d63          	blez	s11,ffffffffc0201530 <vprintfmt+0x302>
ffffffffc020151a:	67a2                	ld	a5,8(sp)
ffffffffc020151c:	2781                	sext.w	a5,a5
ffffffffc020151e:	e43e                	sd	a5,8(sp)
ffffffffc0201520:	6522                	ld	a0,8(sp)
ffffffffc0201522:	85a6                	mv	a1,s1
ffffffffc0201524:	e032                	sd	a2,0(sp)
ffffffffc0201526:	3dfd                	addiw	s11,s11,-1
ffffffffc0201528:	9902                	jalr	s2
ffffffffc020152a:	6602                	ld	a2,0(sp)
ffffffffc020152c:	fe0d9ae3          	bnez	s11,ffffffffc0201520 <vprintfmt+0x2f2>
ffffffffc0201530:	00064783          	lbu	a5,0(a2)
ffffffffc0201534:	0007851b          	sext.w	a0,a5
ffffffffc0201538:	e8051be3          	bnez	a0,ffffffffc02013ce <vprintfmt+0x1a0>
ffffffffc020153c:	b335                	j	ffffffffc0201268 <vprintfmt+0x3a>
ffffffffc020153e:	000aa403          	lw	s0,0(s5)
ffffffffc0201542:	bbf1                	j	ffffffffc020131e <vprintfmt+0xf0>
ffffffffc0201544:	000ae603          	lwu	a2,0(s5)
ffffffffc0201548:	46a9                	li	a3,10
ffffffffc020154a:	8aae                	mv	s5,a1
ffffffffc020154c:	bd89                	j	ffffffffc020139e <vprintfmt+0x170>
ffffffffc020154e:	000ae603          	lwu	a2,0(s5)
ffffffffc0201552:	46c1                	li	a3,16
ffffffffc0201554:	8aae                	mv	s5,a1
ffffffffc0201556:	b5a1                	j	ffffffffc020139e <vprintfmt+0x170>
ffffffffc0201558:	000ae603          	lwu	a2,0(s5)
ffffffffc020155c:	46a1                	li	a3,8
ffffffffc020155e:	8aae                	mv	s5,a1
ffffffffc0201560:	bd3d                	j	ffffffffc020139e <vprintfmt+0x170>
ffffffffc0201562:	9902                	jalr	s2
ffffffffc0201564:	b559                	j	ffffffffc02013ea <vprintfmt+0x1bc>
ffffffffc0201566:	85a6                	mv	a1,s1
ffffffffc0201568:	02d00513          	li	a0,45
ffffffffc020156c:	e03e                	sd	a5,0(sp)
ffffffffc020156e:	9902                	jalr	s2
ffffffffc0201570:	8ace                	mv	s5,s3
ffffffffc0201572:	40800633          	neg	a2,s0
ffffffffc0201576:	46a9                	li	a3,10
ffffffffc0201578:	6782                	ld	a5,0(sp)
ffffffffc020157a:	b515                	j	ffffffffc020139e <vprintfmt+0x170>
ffffffffc020157c:	01b05663          	blez	s11,ffffffffc0201588 <vprintfmt+0x35a>
ffffffffc0201580:	02d00693          	li	a3,45
ffffffffc0201584:	f6d798e3          	bne	a5,a3,ffffffffc02014f4 <vprintfmt+0x2c6>
ffffffffc0201588:	00001417          	auipc	s0,0x1
ffffffffc020158c:	f2140413          	addi	s0,s0,-223 # ffffffffc02024a9 <error_string+0xd1>
ffffffffc0201590:	02800513          	li	a0,40
ffffffffc0201594:	02800793          	li	a5,40
ffffffffc0201598:	bd1d                	j	ffffffffc02013ce <vprintfmt+0x1a0>

ffffffffc020159a <printfmt>:
ffffffffc020159a:	715d                	addi	sp,sp,-80
ffffffffc020159c:	02810313          	addi	t1,sp,40
ffffffffc02015a0:	f436                	sd	a3,40(sp)
ffffffffc02015a2:	869a                	mv	a3,t1
ffffffffc02015a4:	ec06                	sd	ra,24(sp)
ffffffffc02015a6:	f83a                	sd	a4,48(sp)
ffffffffc02015a8:	fc3e                	sd	a5,56(sp)
ffffffffc02015aa:	e0c2                	sd	a6,64(sp)
ffffffffc02015ac:	e4c6                	sd	a7,72(sp)
ffffffffc02015ae:	e41a                	sd	t1,8(sp)
ffffffffc02015b0:	c7fff0ef          	jal	ra,ffffffffc020122e <vprintfmt>
ffffffffc02015b4:	60e2                	ld	ra,24(sp)
ffffffffc02015b6:	6161                	addi	sp,sp,80
ffffffffc02015b8:	8082                	ret

ffffffffc02015ba <readline>:
ffffffffc02015ba:	715d                	addi	sp,sp,-80
ffffffffc02015bc:	e486                	sd	ra,72(sp)
ffffffffc02015be:	e0a2                	sd	s0,64(sp)
ffffffffc02015c0:	fc26                	sd	s1,56(sp)
ffffffffc02015c2:	f84a                	sd	s2,48(sp)
ffffffffc02015c4:	f44e                	sd	s3,40(sp)
ffffffffc02015c6:	f052                	sd	s4,32(sp)
ffffffffc02015c8:	ec56                	sd	s5,24(sp)
ffffffffc02015ca:	e85a                	sd	s6,16(sp)
ffffffffc02015cc:	e45e                	sd	s7,8(sp)
ffffffffc02015ce:	c901                	beqz	a0,ffffffffc02015de <readline+0x24>
ffffffffc02015d0:	85aa                	mv	a1,a0
ffffffffc02015d2:	00001517          	auipc	a0,0x1
ffffffffc02015d6:	eee50513          	addi	a0,a0,-274 # ffffffffc02024c0 <error_string+0xe8>
ffffffffc02015da:	addfe0ef          	jal	ra,ffffffffc02000b6 <cprintf>
ffffffffc02015de:	4481                	li	s1,0
ffffffffc02015e0:	00005a97          	auipc	s5,0x5
ffffffffc02015e4:	a30a8a93          	addi	s5,s5,-1488 # ffffffffc0206010 <edata>
ffffffffc02015e8:	497d                	li	s2,31
ffffffffc02015ea:	49a1                	li	s3,8
ffffffffc02015ec:	4b29                	li	s6,10
ffffffffc02015ee:	4bb5                	li	s7,13
ffffffffc02015f0:	3fe00a13          	li	s4,1022
ffffffffc02015f4:	b3bfe0ef          	jal	ra,ffffffffc020012e <getchar>
ffffffffc02015f8:	842a                	mv	s0,a0
ffffffffc02015fa:	fe054de3          	bltz	a0,ffffffffc02015f4 <readline+0x3a>
ffffffffc02015fe:	00a95d63          	ble	a0,s2,ffffffffc0201618 <readline+0x5e>
ffffffffc0201602:	fe9a49e3          	blt	s4,s1,ffffffffc02015f4 <readline+0x3a>
ffffffffc0201606:	8522                	mv	a0,s0
ffffffffc0201608:	ae3fe0ef          	jal	ra,ffffffffc02000ea <cputchar>
ffffffffc020160c:	009a87b3          	add	a5,s5,s1
ffffffffc0201610:	00878023          	sb	s0,0(a5)
ffffffffc0201614:	2485                	addiw	s1,s1,1
ffffffffc0201616:	bff9                	j	ffffffffc02015f4 <readline+0x3a>
ffffffffc0201618:	03341363          	bne	s0,s3,ffffffffc020163e <readline+0x84>
ffffffffc020161c:	e8b1                	bnez	s1,ffffffffc0201670 <readline+0xb6>
ffffffffc020161e:	b11fe0ef          	jal	ra,ffffffffc020012e <getchar>
ffffffffc0201622:	842a                	mv	s0,a0
ffffffffc0201624:	fc0548e3          	bltz	a0,ffffffffc02015f4 <readline+0x3a>
ffffffffc0201628:	fea958e3          	ble	a0,s2,ffffffffc0201618 <readline+0x5e>
ffffffffc020162c:	8522                	mv	a0,s0
ffffffffc020162e:	abdfe0ef          	jal	ra,ffffffffc02000ea <cputchar>
ffffffffc0201632:	009a87b3          	add	a5,s5,s1
ffffffffc0201636:	00878023          	sb	s0,0(a5)
ffffffffc020163a:	2485                	addiw	s1,s1,1
ffffffffc020163c:	bf65                	j	ffffffffc02015f4 <readline+0x3a>
ffffffffc020163e:	01640463          	beq	s0,s6,ffffffffc0201646 <readline+0x8c>
ffffffffc0201642:	fb7419e3          	bne	s0,s7,ffffffffc02015f4 <readline+0x3a>
ffffffffc0201646:	8522                	mv	a0,s0
ffffffffc0201648:	94d6                	add	s1,s1,s5
ffffffffc020164a:	aa1fe0ef          	jal	ra,ffffffffc02000ea <cputchar>
ffffffffc020164e:	00048023          	sb	zero,0(s1)
ffffffffc0201652:	60a6                	ld	ra,72(sp)
ffffffffc0201654:	6406                	ld	s0,64(sp)
ffffffffc0201656:	74e2                	ld	s1,56(sp)
ffffffffc0201658:	7942                	ld	s2,48(sp)
ffffffffc020165a:	79a2                	ld	s3,40(sp)
ffffffffc020165c:	7a02                	ld	s4,32(sp)
ffffffffc020165e:	6ae2                	ld	s5,24(sp)
ffffffffc0201660:	6b42                	ld	s6,16(sp)
ffffffffc0201662:	6ba2                	ld	s7,8(sp)
ffffffffc0201664:	00005517          	auipc	a0,0x5
ffffffffc0201668:	9ac50513          	addi	a0,a0,-1620 # ffffffffc0206010 <edata>
ffffffffc020166c:	6161                	addi	sp,sp,80
ffffffffc020166e:	8082                	ret
ffffffffc0201670:	4521                	li	a0,8
ffffffffc0201672:	a79fe0ef          	jal	ra,ffffffffc02000ea <cputchar>
ffffffffc0201676:	34fd                	addiw	s1,s1,-1
ffffffffc0201678:	bfb5                	j	ffffffffc02015f4 <readline+0x3a>

ffffffffc020167a <sbi_console_putchar>:
ffffffffc020167a:	00005797          	auipc	a5,0x5
ffffffffc020167e:	98e78793          	addi	a5,a5,-1650 # ffffffffc0206008 <SBI_CONSOLE_PUTCHAR>
ffffffffc0201682:	6398                	ld	a4,0(a5)
ffffffffc0201684:	4781                	li	a5,0
ffffffffc0201686:	88ba                	mv	a7,a4
ffffffffc0201688:	852a                	mv	a0,a0
ffffffffc020168a:	85be                	mv	a1,a5
ffffffffc020168c:	863e                	mv	a2,a5
ffffffffc020168e:	00000073          	ecall
ffffffffc0201692:	87aa                	mv	a5,a0
ffffffffc0201694:	8082                	ret

ffffffffc0201696 <sbi_set_timer>:
ffffffffc0201696:	00005797          	auipc	a5,0x5
ffffffffc020169a:	db278793          	addi	a5,a5,-590 # ffffffffc0206448 <SBI_SET_TIMER>
ffffffffc020169e:	6398                	ld	a4,0(a5)
ffffffffc02016a0:	4781                	li	a5,0
ffffffffc02016a2:	88ba                	mv	a7,a4
ffffffffc02016a4:	852a                	mv	a0,a0
ffffffffc02016a6:	85be                	mv	a1,a5
ffffffffc02016a8:	863e                	mv	a2,a5
ffffffffc02016aa:	00000073          	ecall
ffffffffc02016ae:	87aa                	mv	a5,a0
ffffffffc02016b0:	8082                	ret

ffffffffc02016b2 <sbi_console_getchar>:
ffffffffc02016b2:	00005797          	auipc	a5,0x5
ffffffffc02016b6:	94e78793          	addi	a5,a5,-1714 # ffffffffc0206000 <SBI_CONSOLE_GETCHAR>
ffffffffc02016ba:	639c                	ld	a5,0(a5)
ffffffffc02016bc:	4501                	li	a0,0
ffffffffc02016be:	88be                	mv	a7,a5
ffffffffc02016c0:	852a                	mv	a0,a0
ffffffffc02016c2:	85aa                	mv	a1,a0
ffffffffc02016c4:	862a                	mv	a2,a0
ffffffffc02016c6:	00000073          	ecall
ffffffffc02016ca:	852a                	mv	a0,a0
ffffffffc02016cc:	2501                	sext.w	a0,a0
ffffffffc02016ce:	8082                	ret

ffffffffc02016d0 <strnlen>:
ffffffffc02016d0:	c185                	beqz	a1,ffffffffc02016f0 <strnlen+0x20>
ffffffffc02016d2:	00054783          	lbu	a5,0(a0)
ffffffffc02016d6:	cf89                	beqz	a5,ffffffffc02016f0 <strnlen+0x20>
ffffffffc02016d8:	4781                	li	a5,0
ffffffffc02016da:	a021                	j	ffffffffc02016e2 <strnlen+0x12>
ffffffffc02016dc:	00074703          	lbu	a4,0(a4)
ffffffffc02016e0:	c711                	beqz	a4,ffffffffc02016ec <strnlen+0x1c>
ffffffffc02016e2:	0785                	addi	a5,a5,1
ffffffffc02016e4:	00f50733          	add	a4,a0,a5
ffffffffc02016e8:	fef59ae3          	bne	a1,a5,ffffffffc02016dc <strnlen+0xc>
ffffffffc02016ec:	853e                	mv	a0,a5
ffffffffc02016ee:	8082                	ret
ffffffffc02016f0:	4781                	li	a5,0
ffffffffc02016f2:	853e                	mv	a0,a5
ffffffffc02016f4:	8082                	ret

ffffffffc02016f6 <strcmp>:
ffffffffc02016f6:	00054783          	lbu	a5,0(a0)
ffffffffc02016fa:	0005c703          	lbu	a4,0(a1)
ffffffffc02016fe:	cb91                	beqz	a5,ffffffffc0201712 <strcmp+0x1c>
ffffffffc0201700:	00e79c63          	bne	a5,a4,ffffffffc0201718 <strcmp+0x22>
ffffffffc0201704:	0505                	addi	a0,a0,1
ffffffffc0201706:	00054783          	lbu	a5,0(a0)
ffffffffc020170a:	0585                	addi	a1,a1,1
ffffffffc020170c:	0005c703          	lbu	a4,0(a1)
ffffffffc0201710:	fbe5                	bnez	a5,ffffffffc0201700 <strcmp+0xa>
ffffffffc0201712:	4501                	li	a0,0
ffffffffc0201714:	9d19                	subw	a0,a0,a4
ffffffffc0201716:	8082                	ret
ffffffffc0201718:	0007851b          	sext.w	a0,a5
ffffffffc020171c:	9d19                	subw	a0,a0,a4
ffffffffc020171e:	8082                	ret

ffffffffc0201720 <strchr>:
ffffffffc0201720:	00054783          	lbu	a5,0(a0)
ffffffffc0201724:	cb91                	beqz	a5,ffffffffc0201738 <strchr+0x18>
ffffffffc0201726:	00b79563          	bne	a5,a1,ffffffffc0201730 <strchr+0x10>
ffffffffc020172a:	a809                	j	ffffffffc020173c <strchr+0x1c>
ffffffffc020172c:	00b78763          	beq	a5,a1,ffffffffc020173a <strchr+0x1a>
ffffffffc0201730:	0505                	addi	a0,a0,1
ffffffffc0201732:	00054783          	lbu	a5,0(a0)
ffffffffc0201736:	fbfd                	bnez	a5,ffffffffc020172c <strchr+0xc>
ffffffffc0201738:	4501                	li	a0,0
ffffffffc020173a:	8082                	ret
ffffffffc020173c:	8082                	ret

ffffffffc020173e <memset>:
ffffffffc020173e:	ca01                	beqz	a2,ffffffffc020174e <memset+0x10>
ffffffffc0201740:	962a                	add	a2,a2,a0
ffffffffc0201742:	87aa                	mv	a5,a0
ffffffffc0201744:	0785                	addi	a5,a5,1
ffffffffc0201746:	feb78fa3          	sb	a1,-1(a5)
ffffffffc020174a:	fec79de3          	bne	a5,a2,ffffffffc0201744 <memset+0x6>
ffffffffc020174e:	8082                	ret
